Title: Function previous_post_link problem !
Last modified: October 19, 2016

---

# Function previous_post_link problem !

 *  [bjfagundes](https://wordpress.org/support/users/bjfagundes/)
 * (@bjfagundes)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/function-previous_post_link-problem/)
 * Hi guys…
 * I’m having trouble using the function ‘previous_post_link () ‘. This function
   is printing the code the character ‘«’ and this is causing problems in the correct
   display of the content of page. Anyone had this problem? Some usgestão to fix
   this? The function ‘next_post_link ()’ is functioning normally.
 * Thank you!
    -  This topic was modified 9 years, 6 months ago by [bjfagundes](https://wordpress.org/support/users/bjfagundes/).
    -  This topic was modified 9 years, 6 months ago by [bjfagundes](https://wordpress.org/support/users/bjfagundes/).
    -  This topic was modified 9 years, 6 months ago by [bjfagundes](https://wordpress.org/support/users/bjfagundes/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Dinesh Yadav (dineshinau)](https://wordpress.org/support/users/dineshinau/)
 * (@dineshinau)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/function-previous_post_link-problem/#post-8330617)
 * Hi bjfagundes,
 * Make sure if you have made a custom wp_query call before the next_post_link()/
   previous_post_link() calling and has not reset the query to the default.
 * In that case please use wp_reset_query after the use of custom wp_query.
 * Hope it will help you.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/function-previous_post_link-problem/#post-8331408)
 * what theme are you using?
 * does the problem continue if you temporarily switch to the default theme Twenty
   Sixteen and deactivate all plugins?
 * can you post a link to your site, to a post which showa the problem?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Function previous_post_link problem !’ is closed to new replies.

## Tags

 * [code error](https://wordpress.org/support/topic-tag/code-error/)
 * [previous_post_link](https://wordpress.org/support/topic-tag/previous_post_link/)
 * [problem](https://wordpress.org/support/topic-tag/problem/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/function-previous_post_link-problem/#post-8331408)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
