Logo

WebNinjaTaylor Web Design, Development, & Support

  • Home
  • About
  • Portfolio
  • Learn
    • Terminology

Number of WordPress Search Results June 18th, 2014

Control the number of search or post tag results in WordPress by adding the following just beforeĀ “<?php if (have_posts()) : ?>” in search.php and/or archive.php…

<?php query_posts($query_string . '&showposts=25'); ?>

Resources

  • WordPress Codex: Tag Templates
  • Smooth, Elastic Scrolling on Mobile
  • Override WordPress Tag Cloud Defaults
  • Buy this sticker
    Designed by Taylor Johnson on stickermule.com
  • Web Shots

    508 Backbone.js CSS Debugging Git HTML IE JavaScript Joomla jQuery M&O Mobile MySQL Node.js Performance PHP RequireJS Ruby SharePoint Terminal Tools Underscore.js WordPress
  • Tweets by @webninjataylor

Back to top

Copyright © 2026 WebNinjaTaylor. All rights reserved. • Website by WebNinjaTaylor