the_content in sidebar
-
Hi all!
on my sidebar I have a new WP_Query to get only one post from a specific category. All works well (index, single, archive, pages) displaying correctly the result of the_content() of the main column (the main query) and the result of the_content() of my custom query in the sidebar.The problem is that only on pages and articles that have pagination (a page or an article distributed in more pages), the function “the_content()” of the sidebar display the same content of the main column.
It seems that I could reset the content of “the_content()” of the main query. Or how can I fix this?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘the_content in sidebar’ is closed to new replies.