• Resolved tongueandcheek

    (@tongueandcheek)


    I followed the Template Tags suggestions and tried using their code but I’m not getting the results I want and I don’t want to have to install a plug-in.

    The code on the WordPress Support pages looks like this essentially:

    <div class=”navigation”>
    <div class=”alignleft”><?php previous_post(‘« %’,
    ”, ‘yes’); ?>
    </div>
    <div class=”alignright”> <?php next_post(‘% »’,
    ”, ‘yes’); ?></div>
    </div> <!– end navigation –>

    but no matter what I do I can’t get the arrows on the next_post() to show up on the right and as part of the link. I also can’t get both of these links to show up on the same line short of scripting up something that specifically nudges it up 20px.

    Does anyone have an example of what I want, two links on the same line aligned to the left and right? Or thoughts on how to make this work? I’ve exhuasted all the possibilities I can think of which includes forced floating or text-alignment.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Next Post problems’ is closed to new replies.