If I set the number of posts to say 10 in the theme and the wordpress settings, it shows 10 posts but all my other posts dissapear (which is OK), BUT, there is no link to a second page so readers can see my older posts, basically if they are not in the first 10 they can't be seen anywhere? So at the moment I have to have ALL my posts on the front page displayed, which is starting to make the page very long.
Have you use for each article/post a category? See under article/post in WORDPRESS Dashboard - stand beside each article/post a name for category?
Give each article/post a name for category - then all categories stand in your nav. Then click categories in nav and you can see all article/post what have same categorie.
Then have each categorie (page) with many article a side pagination 1-2-3 when your setting 10 >> then have each categorie page 10 articles/posts.
On the frontpage you can see the last 10 articles/posts from all categories more not. Use for each article/post a category name.
Thanks for the reply but I am having trouble understanding this?
Each post does have its own category.
In my left column menu I have the categories set to all, and they all show up.
The rest is hard to understand, sorry.
The front page of Magazine Premium is set up like a teaser for the latest posts from all your categories. If people wish to read your older posts, they need to then go through your categories to see them.
If you use the Basic layout for the front page, you can have pagination, but it does not work with the Advanced layout since you have multiple queries running that allow you to use different categories per section.
I would like to add pagination to the bottom of my main left hand sidebar - I am displaying posts from 'all' categories in this sidebar and I don't intend to change that at all.
This is the only sidebar I want it in...
Would that still be a problem?
@Eastleigh That can be done. Remove the double slashes from in front of this line in index.php:
187 | //if(function_exists('pagination')) { pagination(); } |
Wow! It was that easy! Many thanks to you : )
Ah ha! That got the pagination to display ok..and its showing the right number of pages- but its not navigating to them. The front page stays the same. Any ideas pls?
There seems to have been a misunderstanding - and it's my fault becasue you have stated clearly enough: "pagination does not work with advanced layout." : (
I guess my permalinks are OK because the paginator fetches pages from category pages or from the front page in basic layout with no probs.
My url is www.eastleighnews.org.uk - but I think its simply a case that I should have read this thread more carefully - I think I might revert to a basic layout as I believe pagination encourages browsing.
Never Mind, you've done a great job on this theme...it still looks brilliant with or without pagination!
I used WP-PageNavi plugin and put it in the top section of the footer.php file and it works great.
http://wordpress.org/extend/plugins/wp-pagenavi/
Just FYI.
@herbbotany For the front page?
Yes for the front page. If you take a look at the plugin I mentioned, it says to put the php code it comes with into your footer.php.
I wouldn't think it would be that difficult for you to include that plugin's code into the theme itself, so then users wouldn't even need a plugin for pagination. But that's up to you of course! :)
Take a look around, and if you would like to add a comment or start a discussion, register by clicking on the button below.
RegisterCopyright © 2012 bavotasan.com. All Rights Reserved. Powered by Vanilla.