Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,194,972 members, 7,956,627 topics. Date: Monday, 23 September 2024 at 03:50 PM |
Nairaland Forum / Science/Technology / Webmasters / Calling The Guru's And Experts Your Help Is Needed (979 Views)
When You Are A Computer Guru And Your Girlfriend Needs Your Assistance / Protect My Php And Mysq Website(pc Guru And Other Great Php Programmers Help) / A Forum For Computer Science Guru And Students (2) (3) (4)
Calling The Guru's And Experts Your Help Is Needed by Johndoe100(m): 1:32pm On Dec 08, 2012 |
Hi, I have a blog and the theme shows too many posts on the front page. I need to reduce the number of posts per page. I need a workable solution. I have done a "google" search and got some code to change the index.php file. It only worked while I was logged in as admin. Once I logged out the number of posts went back to what it was before. Any help, is appreciated. |
Re: Calling The Guru's And Experts Your Help Is Needed by Nobody: 5:57pm On Dec 08, 2012 |
First of all you failed to mention what Blog platform Wordpress, or which ? so we can't tell unless you state that |
Re: Calling The Guru's And Experts Your Help Is Needed by Johndoe100(m): 6:28pm On Dec 08, 2012 |
pc guru: First of all you failed to mention what Blog platform Wordpress, or which ? so we can't tell unless you state that Wordpress is the platform. |
Re: Calling The Guru's And Experts Your Help Is Needed by Nobody: 11:30pm On Dec 08, 2012 |
1. Go to Dashboard and Reading and Reduce the number of posts 2. add a function to the add_action function exclude_category( $query ) {in the functions.php 3. Add the array posts_per_page in the WP_Query in the main page |
Re: Calling The Guru's And Experts Your Help Is Needed by Johndoe100(m): 11:46am On Dec 10, 2012 |
Thanks bro. |
Re: Calling The Guru's And Experts Your Help Is Needed by mrperfect(m): 11:03am On Dec 11, 2012 |
If you search POST section of plugins you will also see a lot of plugins to position posts in different way, including limits of posts in frontpage. |
(1) (Reply)
How To Increase My Websites' Backlinks Quickly?? / Get African First Free Sms Website Portal Builder - Obewe Technologies / //
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 8 |