Wordpress "Older Entries" question?

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

  1. kclimson macrumors newbie

    kclimson

    Joined:
    Aug 15, 2011
    Location:
    Canada
    #1
    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

    Joined:
    Jul 30, 2009
    #2
    This tag,
    PHP:
    <?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