Feeds

Next Page, Previous Page Code

PerformancingAds
Submitted by mspranch on March 21, 2007 - 8:49am in

Hi. I think this theme is wonderful, everything is awesome except for no "next page" or "previous page" link at the bottom of the site. What would the code be to fix that and where would I insert the code at?

Please advise - thank you!

Samantha
MSP


Answer

Go into the home.php file and find the following code:

<p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?>

Add this after it:

<?php posts_nav_link(' — ', __('&laquo; go back'), __('keep looking &raquo;')); ?>

Solved

Thanks, Brian. The code worked perfectly. I appreciate your quick responses. If this is any sign of performancing's support of its themes, I think you'll have great success.

Response

Yes it is. We want this to be a place people feel they can ask questions, because they know they'll get answers.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <h2> <h3> <h4> <img> <div> <a> <em> <strong> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <span> <table> <td> <tr> <caption> <th> <hr> <pre> <br> <p> <object> <param> <embed> <strike>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
1 + 0 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.