| Viewing this topic:
1 guest(s) viewing this topic
Live Kenyan TV •
Live Kenyan Radio
|How to Display all Posts on the Category Page in WordPress by Kenyans247(m): Sun 22, March, 2020 09:17am|
One of the gripes I’ve always had with the built-in WordPress functionality is that you can only specify the number of posts per page across the entire application, as opposed to being able to customize it per section or page. Thanks to a wonderful plugin by Matt Read, you can fix this easily.
First, you’ll want to grab the plugin from his website and install it. If you are unaware, that means unzipping and uploading the file into your BLOGROOT/wp-content/plugins/ directory.
Update: Looks like the original page is down, so here’s a mirror copy:
Download mirror copy here https://www.howtogeek.com/wp-content/uploads/gg/custom-query-string.txt
He’s got a donate button. If this article helps you, then donate money to him, not me.
Once the plugin is installed, you will navigate in your control panel to the Plugins page, and Activate the CQS plugin. Head over to Options / CQS and you should be presented with this screen.
I’ve already customized mine… you should change the Query dropdown to “is_category”, set the Show condition to -1 (for all posts), and click the Add button.
I’ve also gone further and added a new condition so the Home page only shows 5 posts per page. I dislike cluttered homepages.
Sections: Religion, Africa, HistoryKe, World List Directory, Counties, Webmasters, Education, Building/Architecture, Phones, Universities, K247 TV, Poetry, Gossip, Sports, Celebrities, South Sudan Forum, Rwanda Forum, Burundi Forum, Somalia Forum, Ugandan Forum,Kenyans247 - Copyright © 2019 - 2020 Sande Kennedy. All rights reserved. See How To Advertise.
Disclaimer: Every Kenyans247 member is solely responsible for anything that he/she posts or uploads on Kenyans247.