[Support request] Blog link for additional posts

Home Forums Support [Support request] Blog link for additional posts

Home Forums Support Blog link for additional posts

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #1981093
    Bob

    I’m using showposts for my blog and have the blog page set up to show the last 5 posts. I have more than 5 posts.

    I’m used to seeing a link after the last post that has a link that allows the reader to click for earlier blog posts, but I don’t see one on my blog page.

    How do I set that up so a reader can click to see the next 5 blog posts, and then the next 5 and so on.

    I have a couple of other issues as well, but I want to take them one at a time.

    Here’s my website if you want to see what I’m talking about: https://adventuretravelplanning.com/adventure-travel-blog/

    Regards,

    Bob

    #1981126
    Ying
    Staff
    Customer Support

    Hi Bob,

    I think you are talking about the infinite scroll and load more button feature, you can activate them at customizer > layout > blog:
    https://docs.generatepress.com/article/blog-content-layout/#archives

    Let me know 🙂

    #1981170
    Bob

    Unfortunately that didn’t work.

    I checked the following two boxes:

    Use infinite scroll
    Use button to load more posts

    Then I saved my changes and purged the cache, but nothing showed up on my blog page. No change.

    #1981177
    Leo
    Staff
    Customer Support

    The specific page you’ve linked is using WP Show Posts so GP’s customizer options won’t work.

    You would need the AJAX pagination from WP Show Posts pro:
    https://docs.wpshowposts.com/article/posts-overview/#pagination

    Is there a reason why you are using WPSP on that page instead of using the default category archives generated by WP core?

    #1981183
    Bob

    When I looked at the blog the first time it was blank, none of my blog posts showed, so I assumed I had to use ShowPosts.

    Should I be doing this a different way?

    #1981190
    Leo
    Staff
    Customer Support

    WordPress generates category archives automatically:
    https://www.wpbeginner.com/glossary/category/

    For example, if you click at the Uncategorized link at the bottom of the content:
    https://gpsites.co/marketer/2018/09/08/the-fastest-wordpress-theme/

    It would take you to a posts page that display all the Uncategorized posts:
    https://gpsites.co/marketer/category/uncategorized/

    And that page would inherit the options in the customizer.

    Is that something you are after?

    #1981202
    Bob

    I just want the reader to be able to click on a button at the end of the first five blog posts to be able to see the next five and so on.

    That’s the way I see it on another blog of mine and other blogs I see online.

    Scroll to the bottom of the following blog and you’ll see what I mean: https://nobledirectmarketing.com/blog/

    #1981267
    Bob

    Now the blog additional articles are able to be accessed after checking the “pagination” box. Maybe there was some lag time for this to work.

    #1981273
    Ying
    Staff
    Customer Support

    Hi Bob,

    You mean the pagination?
    https://www.screencast.com/t/Zi77vZgK4j1

    If so, you can activate it in the WP show posts list:
    https://www.screencast.com/t/Ox3VLsQ4

    #1981282
    Bob

    Now for the next issue…

    The colors for my links (regular color green and hover color tan) only seem to be working correctly in the sidebar. In my pages and posts they are blue (like they were when I originally built the website).

    I’m wondering if this isn’t working correctly due to some rogue code somewhere that isn’t allowing the change because this is a website that I moved to a new hosting service and changed the theme from “X-Theme” to your GeneratePress theme.

    I’ve changed the colors in Customizer>Colors>Links. Like I said… works in the sidebar, but not elsewhere on my website.

    Website: https://adventuretravelplanning.com/

    How can I fix this?

    #1981285
    Bob

    Yes, Ying. That was it. It just took a while for it to kick in for some reason.

    Can you help me with the next issue (see above)?

    #1981296
    Leo
    Staff
    Customer Support

    Can you explain why WP Show Posts is needed in the first place?

    I feel like it shouldn’t be necessary here – I’m just trying to provide the best solution possible.

    WPSP will no longer be supported in the future (no timeline yet) the best case is to avoid it if possible.

    Please open a new topic for a separate question.

    Thanks!

    #1981304
    Bob

    As I mentioned earlier, if I don’t have the show post code in there, my blog is blank.

    Is there some kind of code that I should be using instead of show posts? If so, give it to me and I will try it.

    This is the blog page that I was using from my old theme before changing to GeneratePress, so maybe something was lost when I converted to your theme.

    #1981310
    Leo
    Staff
    Customer Support

    As I mentioned earlier, if I don’t have the show post code in there, my blog is blank.

    This doesn’t sound right. Can you show me the issue?

    The blog and archives pages (pages that display posts) are automatically generated by WP and they should work.

    #1981324
    Bob

    Here’s the link: https://adventuretravelplanning.com/adventure-travel-blog/

    This is what the blog looks like without the showpost code in there… blank.

Viewing 15 posts - 1 through 15 (of 18 total)
  • You must be logged in to reply to this topic.