[Support request] Add Categories as buttons to Static page

Home Forums Support [Support request] Add Categories as buttons to Static page

Home Forums Support Add Categories as buttons to Static page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1532912
    Chitika

    I am currently using a static page for my home page.
    I would like to display categories as nice buttons.
    The categories block displays as a list and there is no choice to remove any categories.

    I would like to have some categories removed and also display them as buttons or small blocks.

    #1533038
    David
    Staff
    Customer Support

    Hi there,

    simply use the Buttons block to create your own list of buttons for each of your Categories.

    #1534050
    Chitika

    I executed the same idea. But can it be automated. Can I style the categories block which displays as a list. Creating each button is tiresome.

    #1534060
    Elvin
    Staff
    Customer Support

    Hi,

    I executed the same idea. But can it be automated. Can I style the categories block which displays as a list. Creating each button is tiresome.

    You can create a shortcode that automatically displays all your categories into buttons.

    Check the PHP snippet on this reply.
    https://generatepress.com/forums/topic/post_terms-category-tag-as-button/#post-1522958

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