• Resolved suzanna99

    (@suzanna99)


    I’m using Custom Posts to display products, and would like to display a taxonomy/category above the title of each product in the custom post feed.

    As you can see at the top of the provided page, I’m using regular posts to display 2 products, and was able to have the “Hand-Dipped” category show up above the title.

    I cannot find a way to do the same for my custom posts. How can this be done? Thank you!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author TotalPress.org

    (@totalpressorg)

    Hi @suzanna99

    The categories now appear to be present in the html output in the grid block with this css class:

    wp-block-getwid-custom-post-type custom-post-type-products has-layout-grid has-spacing-medium show-pro custom

    It seems that the “custom” css class hides the category labels above the title:

    .custom .taxonomy-category a {display: none;}

    Incredible Cone -> Cones
    Reduced Fat Vanilla Mighty Mini -> Sandwiches

    If you want to show the taxonomy, search and comment/remove that css rule in the style.css file

Viewing 1 replies (of 1 total)
  • The topic ‘Displaying Categories in Post Feed’ is closed to new replies.