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

    When I create a post without the editor it shows the category, name of the post on its own. In the advanced layout builder I need to create a title manually, but how do I get the category to show up. Is there shortcode for this I can add to my functions.php file?

    #986236

    Hey Kyle,

    Thank you for using Enfold.

    Yes, you can create a custom shortcode for the categories.

    Example: https://kriesi.at/support/topic/category-in-blog-post-add-it-and-delete-it-from-the-main-blog-page/#post-962931

    Best regards,
    Ismael

    #986759

    Thank you! This is great. It does what I wanted, all except one thing is a bit odd. It lists the categories if there are more than two vertically instead of being comma separated. Can the code be modified to allow this?

    #987343

    Hi,

    Glad it worked. Use this css code to align them horizontally.

    p.cat { display: inline-block; }
    

    Please provide the link to the actual post with the categories if the css code didn’t work.

    Best regards,
    Ismael

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