Pagination for older posts
-
Hi Guys,
I am creating a wordpress site using Mixfolio theme developed by Graphpaperpress.com. Mixfolio theme is perfect for my needs, but there is a little problem with this theme that I can’t see more than 15 posts on homepage and even pagination (Navigation) is not being created for older posts. I can see only 15 latest posts. but there is no solution see my older posts, if I have more than 15 posts. This theme is limited to show only 15 posts. I have tried WP-PageNavi but issue not solved. How can I fix this, please help me reagarding this.
Thanks,
Yogesh Kumar
-
I think it is part of the design on the home page to show the latest 15 posts, that is normal for some themes.
Mixfolio is a responsive, HTML5 portfolio theme for WordPress. Best of all, it’s free!
Although it says it is a “free theme” in the Our Comitment section, I could not find a download link without a subscription!
Try the contact form on the themes website, they might respond with a solution.
Regards
David
Thanks David,
I have already contacted GraphPaperPress about this. They are saying for considerable customization and their charges are high minimum $500 and I can’t afford this much money.
I have tried adding this code to home.php “<?php get_pagination() ?>”
and added code to functions.php
[code moderated – for any code longer than 10 lines, please use the pastebin]
So now navigation links has been created, but still not able to see next page.
Try this little bit of code, activate wp-pagenavi to test, add it just before have_posts
<?php /* Add support for Paging */ ?> <?php query_posts($query_string . 'paged='.$paged); ?>
Then after have_posts add:
<?php /* Start wp-pagenavi support */ ?> <?php if(function_exists('wp_pagenavi') ) : ?> <?php wp_pagenavi(); ?> <?php else: ?> <?php /* Alternate code for navigation */ ?> <?php endif; ?> <?php /* End Paging Support */ ?>
They are saying for considerable customization and their charges are high minimum $500
It would only be a few lines of code, maximum 30 minutes work!
HTH
David
Hi,
I tried this code, still not working. Mixfolio theme has 2 files home.php and index.php
home.php doesn’t have_posts but index.php have
I tried your given code and pasted into index.php file and nothing happened then i tried same code into home.php file its creating some navigation link but still not able to move to next page.
here I am testing http://beta.androidholik.com/
Hi,
It looks like the posts are generated in Jquery so I do not think you wil be able to add paging to the home page.Regards
David
- The topic ‘Pagination for older posts’ is closed to new replies.