Forums

Help Wanted with Code Snippet (2 posts)

  1. NuclearMoose
    Member
    Posted 7 years ago #

    Pezastic,
    You could post this on the wp-hackers mailing list and get some help that way, if you haven't already done so, of course! :)
    Craig.
    http://wordpress.org/mailman/listinfo/hackers_wordpress.org

  2. pezastic
    Member
    Posted 7 years ago #

    I did just that and they helped a bit, but it was back to these forums where I got the solution:

    <?php
    previous_post('%','<img
    src="http://www.bbiverson.com/images/buttons/previous.jpg" alt="Read Previous Entry" align="middle" /> Previous Entry', 'no', 'no', 1, '');
    if (!((basename (__FILE__) == 'index.php') && ($_SERVER['QUERY_STRING'] ==
    ''))) {
    ?>
    &nbsp; ">Latest Entry &nbsp;
    <?php
    next_post('%','Next Entry<img
    src="http://www.bbiverson.com/images/buttons/next.jpg" alt="Read Next Entry"
    align="middle" />', 'no', 'no', 1, '');
    }
    ?>

    I'm very happy that people here are so helpful!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.