Well, might be a few different places…. first question: are you using the Dutch language file? If so, I wonder why is it not translating those particular words? If not, have you tried it?
Otherwise:
In index.php, toward the bottom, you’ll find a div with a class of “nav” (or possibly “navigation”). Inside that you’ll find div’s for Previous Entries and Next Entries, those are the words you want to change. CHANGE NOTHING BUT THOSE WORDS; don’t mess with ANYTHING else inside those parentheses!
You will find a similar area needing changed in archive.php. And this is all somewhat theme-dependent – it may vary according to the theme you’re using.
Hi andersson. Most themes I’ve seen has the text in the index.php file. The texts are sent as arguments to the
next_posts_link() and previous_posts_link() functions.
In the default theme the function calls embedded in the php tags looks like this:
<?php next_posts_link(‘« Previous Entries’) ?>
<?php previous_posts_link(‘Next Entries »’) ?>
You only have to change the text here.
Thanks for your replies, but I can’t find the lines you’ve mentioned. I even did a search for “»” in the index.php file, but nothing came up. (I’m using the Connections theme by the way)
@ vkaryl: Nope, I’m not using a Dutch language file, I manually translated everything. A language file would be easier, i know, but I had fun doing it manually.
Anyway, if you have more suggestions I’d be greatfull.
Regards,
Tony
My link goes to the Codex page for the posts_nav_link() template tag, not a theme…
Soz, I’m a nub. Just tell me the php-file to look for. I tried your link, and clicked all, but came up with nothing.
There should be a php-file where the lines ‘next page’ and ‘previous page’are listed, right?
The link above is a link to the online manual of the WordPress, called Codex. [Today it was not behaving, it was down for quite a while…]
On the Codex page Kaf linked to there is a detailed explanation of the template tag referred to.
There should be a php-file
In your theme or in WP? No.
EDIT. You mean where to llok for the code? Probably in the index.php file of your theme.
Ok, that worked for me! Thnx all!