We're merging with GenerateBlocks! Learn more here.

[Support request] posts from current category

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support posts from current category

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #8871
    Melissa
    Participant

    Hi, I’m hoping that you can help me figure out two (relatively easy?) things about displaying posts and pages.

    1. How can I display posts in the same category as the current post (on the single post page)?

    2. Similarly, how can I display pages with the same custom field as the current post?

    Thank you!

    #8886
    Melissa
    Participant

    Also wondering if it’s possible to use AJAX pagination with these queries? For some reason it isn’t possible in another plugin I have.

    #8888
    Melissa
    Participant

    I just figured out the first part (posts from same category). But I’m stuck on the second question (same ACF).

    #8893
    Tom
    Keymaster

    Hi there,

    As long as the query is using WP Show Posts, you should be able to use the AJAX pagination option. Is it not working for you? If not, can you link me to the page?

    Let me know šŸ™‚

    #8898
    Melissa
    Participant

    It’s sort of working, but it’s pulling in posts in addition to pages. Could it be a result of having two show posts areas on one page? Sorry, no link available right now, alas.

    Also, any advice on how to set up a query based on a custom field?

    #8936
    Tom
    Keymaster

    Ah, that could definitely be the issue. The pagination doesn’t work great when more than one list exists on the page, unfortunately.

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