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.

active buttons

  • Hi there,
    Is it possible to create buttons in category page which will lead to the posts in that category. The buttons will appear in all posts in that category. They will be static element for all posts in that category. And when a user clicks on a button and gets into some post the button should stay in some other color. And the user will be able to see in which post is at the moment. Is there a way to achieve that?
    Thank you

  • Hi there,

    the simplest method would be to use the Secondary Navigation to display the post Categories, and that way they will come with the current-* menu item classes that can be styled in the customiser.

    You can then use a Layout Element to disable the Secondary Navigation where its not required.

    Does that work for you ?

  • Yes, i’ve tested and it works. I can style with CSS and it will look the way I want.
    Thanks

  • Glad to hear that

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