How do I find my older pages of posts on the front page?
  • jamesmoncurjamesmoncur December 2010

    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.

  • birgitwittekbirgitwittek December 2010

    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.

  • jamesmoncurjamesmoncur December 2010

    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.

  • cbavotacbavota December 2010

    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.

  • Eastleigh+newsEastleigh news December 2010

    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?

  • cbavotacbavota January 2011

    @Eastleigh That can be done. Remove the double slashes from in front of this line in index.php:

    187
        //if(function_exists('pagination')) { pagination(); }

  • Eastleigh+newsEastleigh news January 2011

    Wow! It was that easy! Many thanks to you : )

  • Eastleigh+newsEastleigh news January 2011

    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?

  • cbavotacbavota January 2011

    Are your permalinks set up properly? What is your URL?

  • Eastleigh+newsEastleigh news January 2011

    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.

  • cbavotacbavota January 2011

    Hmm. I guess it actually doesn't work. I thought that was all it would require but I didn't take into consideration the changes I recently made on the theme, which obviously break the pagination for the advanced options.

  • Eastleigh+newsEastleigh news January 2011

    Never Mind, you've done a great job on this theme...it still looks brilliant with or without pagination!

  • herbbotanyherbbotany January 2011

    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.

  • cbavotacbavota January 2011

    @herbbotany For the front page?

  • herbbotanyherbbotany January 2011

    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! :)

  • cbavotacbavota January 2011

    There is a pagination function already included in the theme. That is why you see page numbers at the bottom of the archive pages. It is just a bit more complicated for the front page due to all the custom loops, though it is doable, obviously.

Hey there!

Take a look around, and if you would like to add a comment or start a discussion, register by clicking on the button below.

Register

Categories

In this Discussion

Tagged