Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Search results

Page title matches

Page text matches

  • ...his works in much the same way as [[Template_Tags/list_cats|list_cats()]], the difference being that arguments are given in query string format. ...If optionall is set to 1 (TRUE), this defines the text to be displayed for the link to all Categories. Note: This feature no longer works in WordPress 1.5
    6 KB (913 words) - 08:45, 28 January 2016
  • ...ls to make it as individual and interesting as you are. Below is a list of the general user tags available in WordPress, sorted by function-specific categ For further information on template tags and templates in general, see the following:
    13 KB (1,678 words) - 15:00, 5 September 2022
  • ...o [[Template_Tags/bloginfo | bloginfo()]] except it strips any markup from the output for use in WordPress' [[Glossary#Feed|syndication feeds]]. : '''The following work in WordPress version 1.5 or after:'''
    2 KB (349 words) - 01:36, 24 January 2024
  • ...a template file. This always prints a result to the browser. If you need the values for use in PHP, use [[Function Reference/get_bloginfo|get_bloginfo() {{Parameter|$show|string|Keyword naming the information you want.|Optional|name}}
    8 KB (1,161 words) - 19:15, 22 January 2016
  • ...y also append or prepend a string to this using the function's parameters. The result may be displayed directly, or returned for further processing. ...le shows up on most tabs and not what is important, which is the page that the user is looking at.
    6 KB (994 words) - 19:54, 22 October 2015
  • ; type : (''string'') The type of archive list to display. Defaults to WordPress setting (defaults to ; format : (''string'') Format for the archive list. Valid values:
    3 KB (504 words) - 08:41, 28 January 2016
  • By default, the usage shows: * Does not display the count of the number of posts
    5 KB (640 words) - 08:11, 22 January 2024
  • ...e many tactics. Consider using multiple defenses. Remember spammers change the way they attack so you must keep your choices updated. ...mer:''' The plugins and codes listed are not endorsed by anyone other than the plugin author. No responsibility is taken by WordPress for anything untowar
    10 KB (1,579 words) - 22:41, 8 November 2016
  • Retrieve the IP address of the author of the current comment rather than echo it. {{Parameter|$comment_ID|integer|ID of the comment for which to get the author's IP address.|optional|0 (current comment)}}
    1,011 bytes (126 words) - 01:36, 24 January 2024
  • ...he URL. If year is set to <tt>&#39;&#39;</tt>, the tag returns the URL for the current year's archive. {{Parameter|year|integer|The year for the archive. Use <tt>&#39;&#39;</tt> to assign current year.|optional}}
    2 KB (303 words) - 08:04, 22 January 2024
  • Displays the calendar (defaults to current month/year). Days with posts are styled as su {{Parameter|$initial|boolean|If true, the day will be displayed using a one-letter initial; if false, an abbreviation
    2 KB (216 words) - 08:11, 22 January 2024
  • ...#PHP|PHP]]. It does NOT display the permalink and can be used outside of [[The Loop]]. On failure, it returns <code>false</code>. In a Plugin or Theme, it can be used as early as the [[Plugin_API/Action_Reference/setup_theme|setup_theme]] Action. Any earlie
    3 KB (458 words) - 00:14, 18 July 2015
  • ...nth parameters are set to <tt>&#39;&#39;</tt>, the tag returns the URL for the current month's archive. In a Plugin or Theme, it can be used as early as the [[Plugin_API/Action_Reference/setup_theme|setup_theme]] Action. Any earlie
    2 KB (392 words) - 08:11, 22 January 2024
  • ...day parameters are set to <tt>&#39;&#39;</tt>, the tag returns the URL for the current day's archive. {{Parameter|year|boolean/integer|The year for the archive. Use <tt>&#39;&#39;</tt> to assign current year.}}
    2 KB (347 words) - 08:11, 22 January 2024
  • ...in [[The Loop]] or outside of it. If outside the loop, you'll need to pass the post ID. Can be used with pages, posts, attachments, and revisions. Use [[Template Tags/get_edit_post_link|get_edit_post_link]] to retrieve the url.
    2 KB (269 words) - 08:10, 22 January 2024
  • ...the user is logged in and allowed to edit the comment. It must be within [[The Loop]], and within a comment loop. ...[[Template Tags/get_edit_comment_link|get_edit_comment_link]] to retrieve the url.
    2 KB (228 words) - 08:10, 22 January 2024
  • ...t>YYYY-MM-DD</tt> format (ex: 2004-09-24). This tag must be used within [[The Loop]].
    799 bytes (112 words) - 08:10, 22 January 2024
  • Displays or returns the date of a post, or a set of posts if published on the same day. ...ame day, you should use the [[Template Tags|Template Tag]] [[Template Tags/the time|the_time()]] or [[Template Tags/get_the_date|get_the_date()]] (since [
    3 KB (425 words) - 08:10, 22 January 2024
  • ...emplate Tags/get_the time|get_the_time()]]. This tag must be used within [[The Loop]]. {{Parameter|$d|string|The format the time is to display in. Defaults to the time format configured in your WordPress options. See [[Formatting Date an
    2 KB (281 words) - 08:10, 22 January 2024
  • ...use [[Template Tags/the time|the_time()]]. This tag must be used within [[The Loop]]. ...me and date formats. WordPress is written in the programming language PHP. The date formatting functions in WordPress use PHP's built-in date formatting f
    2 KB (357 words) - 08:04, 22 January 2024

View (previous 20 | next 20) (20 | 50 | 100 | 250 | 500)