Wordpress "Older Entries" question?

Discussion in 'Web Design and Development' started by kclimson, Feb 25, 2012.

  1. kclimson macrumors newbie


    Aug 15, 2011
    Hello, I have a wordpress website, and at the bottom it would say older entries/newer posts. I want to describe how they should look with CSS but how would I do that?

    <?php next_posts_link('Newer Entries »') ?>

    How can I describe the code above so I can apply CSS to it?:apple:
  2. dkotter macrumors member

    Jul 30, 2009
    This tag,
    <?php next_posts_link(); ?>
    just outputs an anchor link to the next post. So in CSS you'd just target the anchor element (a). If you need more control, I'd wrap the PHP code in a div that has a specific class, then you can target that class and then the anchor.

Share This Page