WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I hide or disable this « sign in front of previous_post_link? I can't find it anywhere - it only shows up on the generated page.

This is the code I am using:

        $nextPost = get_next_post();
        $nextthumbnail = get_the_post_thumbnail($nextPost->ID);
        $next_value = get_post_meta( $nextPost->ID, 'subtext', $single = true);


Thank you!

share|improve this question

Just copy your next_post_link:

 <?php previous_post_link( '%link', '' . $prevthumbnail . '' ); ?>

Per the codex page, the first parameter specifies what will we be shown (thanks Chip!)

share|improve this answer
Hi - I don't get your answer...sorry. I have the issue of course for both directions... – ad2003 Aug 29 '12 at 12:19
The &laquo; is coming from the default first parameter to previous_post_link(). That default value is "$format='&laquo; %link'". See source. To change it, you need to pass a different value for the first parameter. – Chip Bennett Aug 29 '12 at 14:13
thank you! Thank you! Just worked! I changed the link-template.php. – ad2003 Sep 6 '12 at 8:10
Mark this answer as accepted then. Glad to help! – Joseph Leedy Sep 6 '12 at 16:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.