How to show the post category in the "Latest Posts" block's meta

  • Unknown's avatar

    Hello,

    I am brand new to blogging and WordPress, so I apologise for the beginner’s question; I’ve been searching and testing for over 1 hour without success. I hope you guys can help. I figure it should be something pretty easy 😅

    In the Latest Posts block, I am trying to have displayed the category assigned to a post in the meta section below the post’s title, where the date and author appear.

    In the Block settings, I only have “Display author name” and “Display post date”. I have been unable to figure out how to activate the category.

    Thank you,
    Rosario

  • Hi there,

    The “latest posts block” does not include many display options, so there is not a way to add a line to display the category the post is filed under.

    Instead you may wish to use the Query Loop block to create a list of recent posts. This block is more flexible in it’s customization and will allow you to add a display for the post category: https://wordpress.com/support/full-site-editing/theme-blocks/query-loop-block/#post-categories-block

    Hope that helps. Please let us know if you have any more questions.

  • Unknown's avatar

    Thank you, with the Query Loop I can now add the category. However it seems I can only add it on a new line and not beside the post date, is that correct or am I missing something?

  • Hi @rrmessina, could you send a link to the site so we can see what you’re seeing?

    Also, these forums are for the sites hosted and managed here at WordPress.com, vs. sites using WordPress code with another host. If you’re not sure about your site, send a link, and we can point you in the right direction.

    If it is definitely hosted somewhere else, we’d recommend contacting support for your theme first, then searching and posting in the forums for the free WordPress software if you need more help: https://wordpress.org/support/forums/

  • The topic ‘How to show the post category in the "Latest Posts" block's meta’ is closed to new replies.