How to filter Sticky Posts from WP-Pagenavi?
-
Hi there,
i´m currently maintaining the new page of my company. We use wordpress as our CMS and have a blog-part on the page. I installed wp-pagenavi to get some better pagination and that works quite well so far.
The only problem i still have is, that when using any kind of pagination (wordpress-integrated or wp-pagenavi), the “sticky”-marked articles appearing duplicated (once on top, as they are supposed to – and again at the current timeslot in between all other articles)
As far as i understand it, this is because pagenavi uses a query to get all the articles and then displays the results as you set it up.
I know i probably have to filter the query to get all the stickies out, but i don´t know where to hook it in and how to do it.
I am no professional when it comes to php and all that. The site was set up by a friend and i am just here to get all the last nuts and bolts into place.I hope you can help me with that. The blog can be found under http://www.lefx.de/blog/
There are 4 demo-articles and two real ones in it…and pagenavi is turned on. -
You did not specify a blog address or reason for posting when you created this topic.
This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.
If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.
If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.
This is an automated message.
- The topic ‘How to filter Sticky Posts from WP-Pagenavi?’ is closed to new replies.