We're merging with GenerateBlocks! Learn more here.

[Support request] Show current category only

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Show current category only

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #7113
    paul
    Participant

    Hello,

    I want to show post in the sidebar that are from the current category only. Ie when viewing a post in Category A the sidebar should only show posts from Category A, same for Category B and so on. Is there a way to achieve this? I am running GP Pro so could add filters etc if necessary.

    Thanks

    #7123
    Tom
    Keymaster

    Hi there,

    The only way to do this right now is with the function, as we need to use PHP to determine the current category.

    I don’t believe it’s possible to execute PHP in a widget, unfortunately.

    This is something I’d like to add as core functionality in the free plugin.

    #7126
    paul
    Participant

    Is this coming imminently? If not how do I achieve this using a fuction. I have GP Pro and Wpsp Pro.

    Thanks

    #7132
    Tom
    Keymaster

    To do it with a function, you would do something like this: https://wpshowposts.com/support/topic/possible-to-show-posts-by-taxonomy-rather-than-by-specific-terms/#post-3922

    WPSP Pro has a beta update coming this week, but this functionality would go in the free version, which won’t have an update until after WPSP Pro is out.

    #9512
    paul
    Participant

    Hi Tom,

    Sorry to bump this – is there any update?

    #9529
    Tom
    Keymaster

    Not yet – sorry! It’s still on our road map.

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