[Resolved] Categories in Masonry blog

Tagged: 

  • Author
    Posts
  • #9496

    odomalo
    Participant

    Hello,

    I have the Ultra Premium Theme and I am very happy.
    In the blog page I use the masonry option, but I can’t show the category. I have searched in the forum how to do it but I found nothing.
    I would like to have the category (I use only one per post) over the picture, near to the Date and Comments. Is that possible? If is not possible to put it there, at least in another place but together with the thumbnail to let users know which category belongs the post to.

    Thank you.

    #9497

    Andrew Misplon
    Keymaster

    Hi 🙂 Please, can you confirm that Theme Settings > Blog > Post Categories is enabled. That won’t just show the first though, we’d probably need to re-write the meta function for that.

    #9499

    odomalo
    Participant
    This reply has been marked as private.
    #9501

    Andrew Misplon
    Keymaster

    You can try the following snippet. To download, right click and save as. To make use of this file, install the plugin https://wordpress.org/plugins/code-snippets/ and then go to Snippets > Import to import the file.

    #9502

    odomalo
    Participant

    Thanks, it works 🙂
    Would be possible to add it directly on the funtions.php of my child theme? I prefer to use the less number of plugins as possible.

    #9503

    Andrew Misplon
    Keymaster

    For sure, all functions can be added as they are.

    #9506

    odomalo
    Participant

    Thanks, it works 🙂

    #9507

    Andrew Misplon
    Keymaster

    Glad that helps. All the best.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

Scroll to top