Skip to content

Craig Freeman

  • Home
  • Articles
  • Talks
  • Portfolio
  • Resume
  • About
  • Twitter
  • GitHub
  • LinkedIn
  • Denver Code Club
  • Message Me

Archives

Tag: template

2011-02-242014-01-11

Pagination of posts per page in a specific category using a template

Clients have been asking for custom amount of posts per page in certain categories. To do this, I have to create a new category template in the theme. For the ‘testimonials’ category, I created a file in my theme directory named category-testimonials.php. The following code is meat of this page’s content: <?php $paged = (get_query_var(‘paged’))… More

WordPresstemplate1 Comment

Archives

Categories

craigfreemangmail

© 2025 Craig Freeman. All rights reserved.
Made in Colorado