wp_link_pages…
September 23rd, 2010 at 02:47pm Jason 138 views
Displays page-links for paginated posts. This works in much the same way as link_pages(), the difference being that arguments are given in query string format. This tag must be within The_Loop.
more… http://codex.wordpress.org/Template_Tags/wp_link_pages
<?php wp_link_pages(array('before' => '<p class="link_pages"><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | /****** wp_link_pages ******/ .link_pages { font: 12px Verdana, Arial, Helvetica, sans-serif; padding-top: 20px; padding-bottom: 20px; margin: 0px; } .link_pages a { padding: 2px 6px; border: solid 1px #ddd; background: #fff; text-decoration: none; } .link_pages a:hover { color: #ffffff; background: #D1CAAF; border-color: #D1CAAF; text-decoration: none; } |
Entry Filed under: WordPress Tagged with: code website wordpress
Hot Posts Hot Comments Hot Tags
- apartment bbpress blog class CMS code CSS div dream english friends girl Google hot Hot Dog html job JS life lines love Madonna menu Michael Jackson movie oral english PHP plugin saying school sexy site student students submenu success tags teacher teaching txt university video website widget wordpress





Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">
Trackback this post | Subscribe to the comments via RSS Feed