CINXE.COM
How to Pass Tag Parameters « WordPress Codex
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> <head><script type="text/javascript" src="https://web-static.archive.org/_static/js/bundle-playback.js?v=7YQSqjSh" charset="utf-8"></script> <script type="text/javascript" src="https://web-static.archive.org/_static/js/wombat.js?v=txqj7nKC" charset="utf-8"></script> <script>window.RufflePlayer=window.RufflePlayer||{};window.RufflePlayer.config={"autoplay":"on","unmuteOverlay":"hidden"};</script> <script type="text/javascript" src="https://web-static.archive.org/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("http://codex.wordpress.org/How_to_Pass_Tag_Parameters","20110624085318","https://web.archive.org/","web","https://web-static.archive.org/_static/", "1308905598"); </script> <link rel="stylesheet" type="text/css" href="https://web-static.archive.org/_static/css/banner-styles.css?v=p7PEIJWi" /> <link rel="stylesheet" type="text/css" href="https://web-static.archive.org/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta http-equiv="Content-Style-Type" content="text/css"/> <meta name="generator" content="MediaWiki 1.15.5"/> <meta name="keywords" content="How to Pass Tag Parameters,Function Reference,Function Reference/get month link,Glossary,Multilingual Codex,Template Tags,Template Tags/How to Pass Tag Parameters,Template Tags/bloginfo,Template Tags/get archives,Template Tags/get permalink,Template Tags/list cats"/> <link rel="shortcut icon" href="/web/20110624085318im_/http://codex.wordpress.org/favicon.ico"/> <link rel="search" type="application/opensearchdescription+xml" href="/web/20110624085318/http://codex.wordpress.org/opensearch_desc.php" title="Codex (en)"/> <link rel="alternate" type="application/rss+xml" title="Codex RSS feed" href="/web/20110624085318/http://codex.wordpress.org/index.php?title=Special:RecentChanges&feed=rss"/> <link rel="alternate" type="application/atom+xml" title="Codex Atom feed" href="/web/20110624085318/http://codex.wordpress.org/index.php?title=Special:RecentChanges&feed=atom"/> <title>How to Pass Tag Parameters « WordPress Codex</title> <style type="text/css"> @import url("https://web.archive.org/web/20110624085318cs_/http://s.wordpress.org/style/codex-wp4.css?3"); @import url("https://web.archive.org/web/20110624085318cs_/http://s.wordpress.org/style/wp4.css?10"); </style> <link media="only screen and (max-device-width: 480px)" href="https://web.archive.org/web/20110624085318cs_/http://wordpress.org/style/iphone.css" type="text/css" rel="stylesheet"> <!--[if IE]> <style type="text/css"> @import url("http://wordpress.org/style/ie.css?9"); </style> <![endif]--> <link rel="shortcut icon" href="https://web.archive.org/web/20110624085318im_/http://s.wordpress.org/favicon.ico" type="image/x-icon"/> <script src="https://web.archive.org/web/20110624085318js_/http://www.google-analytics.com/urchin.js" type="text/javascript"></script> <script type="text/javascript"> _uacct = "UA-52447-1"; urchinTracker(); </script> <!--[if IE]> <script type="text/javascript" src="/skins/common/IEFixes.js"></script> <meta http-equiv="imagetoolbar" content="no" /> <![endif]--> <script type="text/javascript" src="/web/20110624085318js_/http://codex.wordpress.org/index.php?title=-&action=raw&gen=js&useskin=codex"></script> <script type="text/javascript">wgBreakFrames=false;wgContentLanguage='en';</script> <script type="text/javascript" src="/web/20110624085318js_/http://codex.wordpress.org/skins/common/wikibits.js"></script> </head> <body id="wordpress-org"> <div id="header"> <div class="wrapper"> <h1><a href="https://web.archive.org/web/20110624085318/http://wordpress.org/" title="WordPress">WordPress.org</a></h1> <form action="https://web.archive.org/web/20110624085318/http://wordpress.org/search/do-search.php" method="get" id="head-search"> <input class="text" name="search" type="text" value="Search the Codex" maxlength="150" onfocus="this.value=(this.value=='Search the Codex') ? '' : this.value;" onblur="this.value=(this.value=='') ? 'Search the Codex' : this.value;"/> <input type="submit" class="button" value="Go"/> </form> <ul> <li><a href="https://web.archive.org/web/20110624085318/http://wordpress.org/" title="Home is where the heart is.">Home</a></li> <li><a href="https://web.archive.org/web/20110624085318/http://wordpress.org/showcase/" title="See some of the sites built on WordPress.">Showcase</a></li> <li><a href="https://web.archive.org/web/20110624085318/http://wordpress.org/extend/" title="Taking WordPress beyond your wildest imagination">Extend</a> <ul class="nav-submenu"> <li><a href="https://web.archive.org/web/20110624085318/http://wordpress.org/extend/plugins/" title="Plugins can extend WordPress to do almost anything you can imagine.">Plugins</a></li> <li><a href="https://web.archive.org/web/20110624085318/http://wordpress.org/extend/themes/" title="Find just the right look for your website.">Themes</a></li> </ul></li> <li><a href="https://web.archive.org/web/20110624085318/http://wordpress.org/about/" title="About the WordPress Organization, and where we're going.">About</a></li> <li><a class="current" href="https://web.archive.org/web/20110624085318/http://codex.wordpress.org/Main_Page" title="Documentation, tutorials, best practices.">Docs</a></li> <li><a href="https://web.archive.org/web/20110624085318/http://wordpress.org/development/" title="Come here for the latest scoop.">Blog</a></li> <li><a href="https://web.archive.org/web/20110624085318/http://wordpress.org/support/" title="Support and discussion forums.">Forums</a></li> <li><a href="https://web.archive.org/web/20110624085318/http://wordpress.org/hosting/" title="Find a home for your blog">Hosting</a></li> <li id="download"><a href="https://web.archive.org/web/20110624085318/http://wordpress.org/download/" title="Get it. Got it? Good.">Download</a></li> </ul> </div> </div> <div id="headline"> <div class="wrapper"> <h2>Codex</h2> <div class="portlet" id="p-personal"> <p class="login">Codex tools: <a href="/web/20110624085318/http://codex.wordpress.org/index.php?title=Special:UserLogin&returnto=How_to_Pass_Tag_Parameters">Log in</a> </p> </div> </div> </div> <div id="pagebody"> <div class="wrapper"> <div class="col-10" id="bodyContent"> <h2 class="pagetitle">How to Pass Tag Parameters</h2> <!-- start content --> <p class="LanguageLinks" style="border:1px solid #CCCCCC; line-height:1.5; text-align:left; color:#333333; font-size:90%; padding:10px;"><span style="white-space:nowrap;"><a href="/web/20110624085318/http://codex.wordpress.org/Multilingual_Codex" title="Multilingual Codex" class="mw-redirect">Languages</a>:</span> <a href="/web/20110624085318/http://codex.wordpress.org/Template_Tags/How_to_Pass_Tag_Parameters" title="Template Tags/How to Pass Tag Parameters" class="mw-redirect">English</a> • <a href="https://web.archive.org/web/20110624085318/http://wpdocs.sourceforge.jp/%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88%E3%82%BF%E3%82%B0/%E3%82%BF%E3%82%B0%E3%83%91%E3%83%A9%E3%83%A1%E3%83%BC%E3%82%BF%E3%81%AE%E6%B8%A1%E3%81%97%E6%96%B9" class="external text" title="http://wpdocs.sourceforge.jp/%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88%E3%82%BF%E3%82%B0/%E3%82%BF%E3%82%B0%E3%83%91%E3%83%A9%E3%83%A1%E3%83%BC%E3%82%BF%E3%81%AE%E6%B8%A1%E3%81%97%E6%96%B9">日本語</a> • <a href="/web/20110624085318/http://codex.wordpress.org/pt-br:Como_usar_Par%C3%A2metros" title="pt-br:Como usar Parâmetros">Português do Brasil</a> • <small>(<a href="/web/20110624085318/http://codex.wordpress.org/Multilingual_Codex#Language_Cross_Reference" title="Multilingual Codex" class="mw-redirect">Add your language</a>)</small> </p> <table id="toc" class="toc" summary="Contents"><tr><td><div id="toctitle"><h2>Contents</h2></div> <ul> <li class="toclevel-1"><a href="#Introduction"><span class="tocnumber">1</span> <span class="toctext">Introduction</span></a></li> <li class="toclevel-1"><a href="#Tags_without_parameters"><span class="tocnumber">2</span> <span class="toctext">Tags without parameters</span></a></li> <li class="toclevel-1"><a href="#Tags_with_PHP_function-style_parameters"><span class="tocnumber">3</span> <span class="toctext">Tags with PHP function-style parameters</span></a></li> <li class="toclevel-1"><a href="#Tags_with_query-string-style_parameters"><span class="tocnumber">4</span> <span class="toctext">Tags with query-string-style parameters</span></a></li> <li class="toclevel-1"><a href="#Types_of_parameters"><span class="tocnumber">5</span> <span class="toctext">Types of parameters</span></a> <ul> <li class="toclevel-2"><a href="#String"><span class="tocnumber">5.1</span> <span class="toctext">String</span></a></li> <li class="toclevel-2"><a href="#Integer"><span class="tocnumber">5.2</span> <span class="toctext">Integer</span></a></li> <li class="toclevel-2"><a href="#Boolean"><span class="tocnumber">5.3</span> <span class="toctext">Boolean</span></a></li> <li class="toclevel-2"><a href="#Callback"><span class="tocnumber">5.4</span> <span class="toctext">Callback</span></a></li> </ul> </li> </ul> </td></tr></table><script type="text/javascript"> if (window.showTocToggle) { var tocShowText = "show"; var tocHideText = "hide"; showTocToggle(); } </script> <a name="Introduction" id="Introduction"></a><h2> <span class="mw-headline"> Introduction </span></h2> <p><a href="/web/20110624085318/http://codex.wordpress.org/Template_Tags" title="Template Tags">Template tags</a> are <a href="/web/20110624085318/http://codex.wordpress.org/Glossary#PHP" title="Glossary">PHP</a> functions you can embed in your WordPress page templates to provide dynamic blog content. And like PHP functions, many template tags accept arguments, or parameters. Template tag parameters are variables you can use to change a tag's output or otherwise modify its action in some way. Think of parameters as user options or settings that allow you to customize how a template tag works. </p><p>In regards to parameters, WordPress template tags come in three "flavors." These are described below: </p> <ol><li> <a href="#Tags_without_parameters" title="">Tags without parameters</a> </li><li> <a href="#Tags_with_PHP_function-style_parameters" title="">Tags with PHP function-style parameters</a> </li><li> <a href="#Tags_with_query-string-style_parameters" title="">Tags with query-string-style parameters</a> </li></ol> <a name="Tags_without_parameters" id="Tags_without_parameters"></a><h2> <span class="mw-headline"> Tags without parameters </span></h2> <p>Some template tags do not have any options, and thus have no parameters you can pass to them. </p><p>The template tag <a href="/web/20110624085318/http://codex.wordpress.org/Template_Tags/the_author_firstname" title="Template Tags/the author firstname" class="mw-redirect"> the_author_firstname()</a> is one that accepts no parameters. This tag simply displays the first name of the author for a post. Tags without parameters should have nothing between the tag function's opening and closing brackets (parentheses): </p> <pre><?php the_author_firstname(); ?> </pre> <a name="Tags_with_PHP_function-style_parameters" id="Tags_with_PHP_function-style_parameters"></a><h2> <span class="mw-headline"> Tags with PHP function-style parameters </span></h2> <p>For template tags that can accept parameters, some require them to be in the <a href="https://web.archive.org/web/20110624085318/http://www.php.net/manual/en/functions.arguments.php" class="external text" title="http://www.php.net/manual/en/functions.arguments.php">default PHP style</a>. For these, parameters are passed to a tag function by placing one or more values inside the function's parentheses, or brackets. </p><p>The <a href="/web/20110624085318/http://codex.wordpress.org/Template_Tags/bloginfo" title="Template Tags/bloginfo" class="mw-redirect">bloginfo()</a> tag accepts one parameter (known as the <b>show</b> parameter) that tells it what information about your blog to display: </p><p><code><span style="color: #000000"> <span style="color: #0000BB"><?php bloginfo</span><span style="color: #007700">(</span><span style="color: #DD0000">'name'</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span> </span> </code> </p><p>The <a href="/web/20110624085318/http://codex.wordpress.org/Template_Tags/wp_title" title="Template Tags/wp title" class="mw-redirect">wp_title()</a> tag accepts two parameters: the first is the <b>sep</b> or separator parameter, and the second the <b>echo</b> or display parameter: </p><p><code><span style="color: #000000"> <span style="color: #0000BB"><?php wp_title</span><span style="color: #007700">(</span><span style="color: #DD0000">' - '</span><span style="color: #007700">, </span><span style="color: #0000BB">TRUE</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span> </span> </code> </p><p>The first is enclosed in single-quotes and the second is not because the first is a <i>string</i>, and the second a <i>boolean</i> parameter. (See <a href="#Types_of_parameters" title="">Types of parameters</a> for information on parameter types and how to use them.) </p><p>Important points to keep in mind for PHP function-style parameters: </p> <dl><dd><ul><li> Some functions take multiple parameters. </li><li> Multiple parameters are separated by commas. </li><li> <b>The order of parameters is important!</b> </li></ul> </dd></dl> <p>When passing parameters to a template tag's function, make sure you specify values for all parameters <i>up to the last one you wish to modify</i>, or the tag may not work as expected. For example, the template tag <a href="/web/20110624085318/http://codex.wordpress.org/Template_Tags/get_archives" title="Template Tags/get archives" class="mw-redirect">get_archives()</a> has six parameters: </p><p><code><span style="color: #000000"> <span style="color: #0000BB"><?php get_archives</span><span style="color: #007700">(</span><span style="color: #DD0000">'type'</span><span style="color: #007700">, </span><span style="color: #DD0000">'limit'</span><span style="color: #007700">, </span><span style="color: #DD0000">'format'</span><span style="color: #007700">, </span><span style="color: #DD0000">'before'</span><span style="color: #007700">, </span><span style="color: #DD0000">'after'</span><span style="color: #007700">, </span><span style="color: #0000BB">show_post_count</span><span style="color: #007700">); </span><span style="color: #0000BB">?></span> </span> </code> </p><p>To display the archives list the way you want, let's say you only need to modify the third (<b>format</b>) and fifth (<b>after</b>) parameters. To do this, you also need to make sure to enter default values for the first, second and fourth parameters, as well: </p><p> <?php get_archives('', '', 'custom', '', '<br />'); ?> </p><p>Notice the use of single-quotes to denote <i>empty</i> parameter values, which '' in this case '' forces defaults for those specific parameters. Be aware that defaults can be overwritten when passing empty parameters, as is the case of a parameter specifying a string of text, and there's no way to pass an empty boolean value. So check the documentation for a parameter's default, and when one is specified use it as your parameter value (also see <a href="#Types_of_parameters" title="">Types of parameters</a> for information on parameter types). The sixth parameter was left off; this is because WordPress uses the default for any remaining parameters left unspecified. </p><p>Make sure to follow the documentation for a template tag carefully, and place your parameters in the order the template function expects. Finally, to use the defaults for all parameters in a template tag, use the tag with no parameter values specified: </p><p><code><span style="color: #000000"> <span style="color: #0000BB"><?php get_archives</span><span style="color: #007700">(); </span><span style="color: #0000BB">?></span> </span> </code> </p> <a name="Tags_with_query-string-style_parameters" id="Tags_with_query-string-style_parameters"></a><h2> <span class="mw-headline"> Tags with query-string-style parameters </span></h2> <p>The last type of template tag makes use of what's called a query-string style to pass parameters to the tag. These provide a convenient 'wrapper' to tags which use the <a href="#Tags_with_PHP_function-style_parameters" title="">PHP function parameter style</a> and have a relatively large number of parameters. For example, the template tag <a href="/web/20110624085318/http://codex.wordpress.org/Template_Tags/wp_list_cats" title="Template Tags/wp list cats" class="mw-redirect">wp_list_cats()</a> is a wrapper to <a href="/web/20110624085318/http://codex.wordpress.org/Template_Tags/list_cats" title="Template Tags/list cats" class="mw-redirect">list_cats()</a>, a tag with eighteen parameters! </p><p>If you want to set the <b>exclude</b> parameter in list_cats() (seventeenth in the parameter list) and leave the rest at their defaults, you have to do this: </p> <pre><?php list_cats(TRUE, 'All', 'ID', 'asc', '', TRUE, FALSE, FALSE, TRUE, TRUE, FALSE, '', '', FALSE, '', '', '10,11,12'); ?> </pre> <p><i>Or</i> you can use wp_list_cats(): </p> <pre><?php wp_list_cats('exclude=10,11,12'); ?> </pre> <p>So query-string style tags are useful in that they let you change the values of just those parameters you require, without needing to provide values for all or nearly all of them. However, not all PHP function-style template tags have a query-string style equivalent. (Also note that names for tags that accept query-string style parameters usually start with a 'wp_' prefix, such as wp_list_cats(), but check the documentation on a tag to verify its method for accepting parameters, if any.) </p><p>The tag <a href="/web/20110624085318/http://codex.wordpress.org/Template_Tags/wp_list_authors" title="Template Tags/wp list authors" class="mw-redirect">wp_list_authors()</a> has six parameters, of which we set three here: </p> <pre><?php wp_list_authors('show_fullname=1&feed=rss&optioncount=1'); ?> </pre> <p>First, all the parameters together are enclosed by either single or double quotes. Then each parameter is entered in the <i>parameter=value</i> format, while these are separated with an ampersand (&). Broken down, the tag as shown above states: </p> <dl><dd><ul><li> Parameter <b>show_fullname</b> (a <i>boolean</i> type parameter) equals <tt>1</tt> (true). </li></ul> <dl><dd> AND </dd></dl> <ul><li> Parameter <b>feed</b> (a <i>string</i> type parameter) equals <tt>rss</tt>. </li></ul> <dl><dd> AND </dd></dl> <ul><li> Parameter <b>optioncount</b> (a <i>boolean</i> type parameter) equals <tt>1</tt> (true). </li></ul> </dd></dl> <p>(See <a href="#Types_of_parameters" title="">Types of parameters</a> for information on parameter types and how to use them.) </p><p>Parameters in the query-string style do not have to be entered in a specific order. The only real concern is assuring parameter names are spelled correctly. If legibility is a problem, you can separate parameters with a space: </p> <pre><?php wp_list_authors('show_fullname=1 & feed=rss & optioncount=1'); ?> </pre> <p>You can also spread a query-string over several lines (note the specific format of enclosing each parameter/value pair in single quotes and a dot starting each new line): </p> <pre><?php wp_list_authors( 'show_fullname=1' .'&feed=rss' .'&optioncount=1' ); ?> </pre> <p>There are a few limitations when using query-string style tags, among which you cannot pass certain characters, such as the ampersand or a quote mark (single or double). In those cases, you can use an associative array: </p> <pre><?php $params = array( 'type' => 'postbypost', 'limit' => 5, 'format' => 'custom', 'before' => '<li>&bull;&nbsp;', 'after' => '</li>' ); wp_get_archives($params); ?> </pre> <a name="Types_of_parameters" id="Types_of_parameters"></a><h2> <span class="mw-headline"> Types of parameters </span></h2> <p>There are three types of parameters you need to know about in regards to WordPress template tags: string, integer, and boolean. Each is handled a bit differently, as described below. </p> <a name="String" id="String"></a><h3> <span class="mw-headline"> String </span></h3> <p>A string is a line of text, and is typically anything from a single character to several dozen words. A string parameter is often a selection from two or more valid options, as is the <b>show</b> parameter in <a href="/web/20110624085318/http://codex.wordpress.org/Template_Tags/bloginfo" title="Template Tags/bloginfo" class="mw-redirect">bloginfo()</a>. Otherwise, a string is intended as text to be displayed, such as the <b>sep</b> parameter in <a href="/web/20110624085318/http://codex.wordpress.org/Template_Tags/wp_title" title="Template Tags/wp title" class="mw-redirect">wp_title()</a>. </p><p>In tags which use the <a href="#Tags_with_PHP_function-style_parameters" title="">PHP function parameter style</a>, string values should be enclosed in single (') or double (") quotation marks. If a single or double quote is required for part of your string, mix the marks (using double quotes to enclose the parameter if a single quote exists in your parameter value), or use the PHP escape character (a backslash: <tt>\</tt>), as the following does to assign single quotes for the <b>before</b> and <b>after</b> parameters in <a href="/web/20110624085318/http://codex.wordpress.org/Template_Tags/the_title" title="Template Tags/the title" class="mw-redirect">the_title()</a>: </p> <pre><?php the_title('\'', '\''); ?> </pre> <a name="Integer" id="Integer"></a><h3> <span class="mw-headline"> Integer </span></h3> <p>An integer is a whole number (…, -2, -1, 0, 1, 2,…). Integer parameters are often used for date and archive based information, like the <b>year</b> and <b>month</b> parameters for the <a href="/web/20110624085318/http://codex.wordpress.org/Function_Reference/get_month_link" title="Function Reference/get month link">get_month_link()</a> tag, or for specifying the numeric value of something on your blog, as one finds in the case of the <b>id</b> parameter in <a href="/web/20110624085318/http://codex.wordpress.org/Template_Tags/get_permalink" title="Template Tags/get permalink" class="mw-redirect">get_permalink()</a>. </p><p>When passed to a <a href="#Tags_with_PHP_function-style_parameters" title="">PHP function parameter style</a> tag, integer values either in or out of quotes will be handled correctly. So the following examples are both valid: </p> <pre><?php get_permalink('100'); ?> </pre> <pre><?php get_permalink(100); ?> </pre> <a name="Boolean" id="Boolean"></a><h3> <span class="mw-headline"> Boolean </span></h3> <p>Boolean parameters provide a simple true/false evaluation. </p><p>For example, the <a href="/web/20110624085318/http://codex.wordpress.org/Template_Tags/the_date" title="Template Tags/the date" class="mw-redirect">the_date()</a> tag has an <b>echo</b> parameter which takes either <tt>TRUE</tt> or <tt>FALSE</tt> as a value; setting the parameter to <tt>TRUE</tt> displays the date on the page, whereas <tt>FALSE</tt> causes the tag to "return" the date as a value that can then be used in other PHP code. </p><p>A boolean parameter can be notated as a numeric value: <tt>1</tt> for <tt>TRUE</tt>, <tt>0</tt> for <tt>FALSE</tt>. For a boolean value in <a href="#Tags_with_PHP_function-style_parameters" title="">PHP function parameter style</a> tags, these are all equivalent: </p> <dl><dd><ul><li> <tt>1</tt> = <tt>TRUE</tt> = <tt>true</tt> </li><li> <tt>0</tt> = <tt>FALSE</tt> = <tt>false</tt> </li></ul> </dd></dl> <p>However, do <b>NOT</b> enclose boolean values within quote marks. For <a href="#Tags_with_query-string-style_parameters" title="">query-string style tags</a>, use only the numeric boolean values (<tt>1</tt> or <tt>0</tt>). </p> <a name="Callback" id="Callback"></a><h3> <span class="mw-headline"> Callback </span></h3> <p>Some things call for a callback. There's no explanation of what they want, so good luck. </p> <div style="clear:both; background-color:#F7F7F7; border:1px solid #CCCCCC; color:#000000; padding:7px; margin:0.5em auto 0.5em auto; vertical-align:middle;">See also index of <a href="/web/20110624085318/http://codex.wordpress.org/Function_Reference" title="Function Reference">Function Reference</a> and index of <a href="/web/20110624085318/http://codex.wordpress.org/Template_Tags" title="Template Tags">Template Tags</a>.</div> <!-- NewPP limit report Preprocessor node count: 95/1000000 Post-expand include size: 1681/2097152 bytes Template argument size: 582/2097152 bytes Expensive parser function count: 0/100 --> <div class="printfooter"> Retrieved from "<a href="https://web.archive.org/web/20110624085318/http://codex.wordpress.org/How_to_Pass_Tag_Parameters">http://codex.wordpress.org/How_to_Pass_Tag_Parameters</a>"</div> <div id="catlinks"><div id="catlinks" class="catlinks"><div id="mw-normal-catlinks"><a href="/web/20110624085318/http://codex.wordpress.org/Special:Categories" title="Special:Categories">Categories</a>: <span dir="ltr"><a href="/web/20110624085318/http://codex.wordpress.org/Category:Template_Tags" title="Category:Template Tags">Template Tags</a></span> | <span dir="ltr"><a href="/web/20110624085318/http://codex.wordpress.org/Category:Advanced_Topics" title="Category:Advanced Topics">Advanced Topics</a></span></div></div></div> <!-- end content --> </div> <div class="col-2"> <ul class="submenu"> <li id="n-mainpage"><a href="/web/20110624085318/http://codex.wordpress.org/Main_Page">Home Page</a></li> <li><a href="/web/20110624085318/http://codex.wordpress.org/WordPress_Lessons">WordPress Lessons</a></li> <li><a href="/web/20110624085318/http://codex.wordpress.org/Getting_Started_with_WordPress">Getting Started</a></li> <li><a href="/web/20110624085318/http://codex.wordpress.org/Working_with_WordPress">Working with WordPress</a></li> <li><a href="/web/20110624085318/http://codex.wordpress.org/Blog_Design_and_Layout">Design and Layout</a></li> <li><a href="/web/20110624085318/http://codex.wordpress.org/Advanced_Topics">Advanced Topics</a></li> <li><a href="/web/20110624085318/http://codex.wordpress.org/Troubleshooting">Troubleshooting</a></li> <li><a href="/web/20110624085318/http://codex.wordpress.org/Developer_Documentation">Developer Docs</a></li> <li><a href="/web/20110624085318/http://codex.wordpress.org/About_WordPress">About WordPress</a></li> </ul> <h3>Codex Resources</h3> <ul class="submenu"> <li id="n-portal"><a href="/web/20110624085318/http://codex.wordpress.org/Codex:Community_Portal">Community portal</a></li> <li id="n-currentevents"><a href="/web/20110624085318/http://codex.wordpress.org/Current_events">Current events</a></li> <li id="n-recentchanges"><a href="/web/20110624085318/http://codex.wordpress.org/Special:RecentChanges">Recent changes</a></li> <li id="n-randompage"><a href="/web/20110624085318/http://codex.wordpress.org/Special:Random">Random page</a></li> <li id="n-help"><a href="/web/20110624085318/http://codex.wordpress.org/Help:Contents">Help</a></li> </ul> </div> </div> </div> <div id="footer"> <div class="wrapper"> <p> <a href="https://web.archive.org/web/20110624085318/http://wordpress.org/about/privacy/">Privacy</a> | <a href="https://web.archive.org/web/20110624085318/http://wordpress.org/about/gpl/">License / GPL</a> See also: <a href="https://web.archive.org/web/20110624085318/http://wordpress.com/" title="Hassle-free WP hosting">WordPress.com</a> | <a href="https://web.archive.org/web/20110624085318/http://wordpress.tv/" title="Videos, tutorials, WordCamps">WordPress.TV</a> | <a href="https://web.archive.org/web/20110624085318/http://central.wordcamp.org/" title="Find a WordPress event near your home">WordCamp</a> | <a href="https://web.archive.org/web/20110624085318/http://jobs.wordpress.net/" title="Find or post WordPress jobs">WP Jobs</a> | <a href="https://web.archive.org/web/20110624085318/http://ma.tt/" title="Co-founder of WordPress, an example of what WordPress can do">Matt</a> | <a href="https://web.archive.org/web/20110624085318/http://www.facebook.com/WordPress">Fan WP on Facebook</a> | <a href="https://web.archive.org/web/20110624085318/http://wordpress.org/news/feed/" class="rsslink">Blog RSS</a> </p> <h6>Code is Poetry</h6> </div> </div> </body> <!-- Cached 20110613132358 --> </html> <!-- user: NULL --> <!-- FILE ARCHIVED ON 08:53:18 Jun 24, 2011 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 06:45:07 Mar 02, 2025. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). --> <!-- playback timings (ms): captures_list: 0.729 exclusion.robots: 0.039 exclusion.robots.policy: 0.024 esindex: 0.013 cdx.remote: 65.024 LoadShardBlock: 229.283 (3) PetaboxLoader3.datanode: 150.515 (4) PetaboxLoader3.resolve: 276.768 (3) load_resource: 224.377 -->