Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Customize Sidebar by category

  • Hello,

    I would like to create a personalized sidebar by category.

    For example, if I’m on an article in the “Dog” category, then I’d like the sidebar to show 1/ the latest articles in the dog category 2/ the best articles in the dog category.

    But, if I’m on an article in the “Cat” category, then I’d like the sidebar to show 1/ the latest articles in the Cat category 2/ the best articles in the Cat category.

    Is this possible?

    Thanks

  • Hi there,

    the latest articles can be done with GenerateBlocks Pro Query Loop.

    1. In your Sidebar add a Query Loop block. And design its layout.
    2. in the Query loops block settings Parameters add:
    i) Taxonomy -> Category -> Current Post Terms
    ii) Exclude Posts -> Exclude Current Post

    And thats it – the loop will now show posts that match the current post category terms and exclude the current post.

    The Best Articles is a different matter…. what would make an article a best article ?

  • i have a problem. now, the title doesn’t appear

  • Where can i see this ?

  • here for example (on all posts) :

  • Can you use a GB headline block instead of the WP title block?

    You can enable the dynamic data option for headline block and set it to title.

    Let me know ๐Ÿ™‚

  • Perfect, thank you ๐Ÿ™‚

  • You are welcome ย  ๐Ÿ™‚

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