• I run ohgizmo.com. After upgrading from 2.0.1 to 2.2.1, the navigation tags we used didn’t work anymore. I believe they’re deprecated. But now, the new ones don’t work either. This is the code I had before:

    <div class=”navigation”><div class=”corner1″> <div class=”corner2″>
    <div class=”padit”><?php next_posts_link(‘« Previous’) ?><?php previous_posts_link(‘ | Next »’) ?></div>
     </div></div></div>

    After the upgrade, this wasn’t working anymore. So I replaced it with the following.

    <div class=”navigation”><div class=”corner1″> <div class=”corner2″>
    <div class=”padit”><?php posts_nav_link(”,”,’« Previous Entries’) ?><?php posts_nav_link(”,’Next Entries »’,”) ?></div>
     </div></div></div>

    However, this isn’t working either. Where the “Next” and “Previous” links should be, all there is is an empty little box. I even tried the following:

    <div class=”navigation”><div class=”corner1″> <div class=”corner2″>
    <div class=”padit”><?php posts_nav_link(‘|’,’Next’,’Previous’); ?></div>
     </div></div></div>

    And no luck.

    I need help, badly.

The topic ‘<?php posts_nav_link(); ?> tag not working’ is closed to new replies.