Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

kclimson

macrumors newbie
Original poster
Aug 15, 2011
28
0
Canada
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:
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.