Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Mercury Maintag

  • #7585
    Avatar photo[anonymous]

    Using Mercury theme, I set the homepage to display Latest posts and I enable filters. For Filter by, I choose Maintag.

    But after site synchronisation, all tags are listed, not only the main tags.

    Is is a bug or did I made a mistake… ?

    Thanks for your help.

    #7729
    Avatar photo[anonymous]

    Have you set a maintag for each post?

    If so, I believe the “filter by maintag” applies only to the posts, and not the list of tags. If you want to hide a certain tag, I would recommend going in you List of Tags in the Publii GUI, selecting the ones you want to hide with the checkbox, and click on “Hide”

    #7745
    Avatar photo[anonymous]

    Hello,

    Thank you for your answer. Which I am not sure I understand…

    I did put a Maintag to each post.
    As an attachment I have attached a screenshot of my homepage configuration. I understand that “Filter by Maintag” means that only Maintags will be displayed. But all the Tags are displayed. But maybe I am mistaken about the meaning.

    Thank you.

    #8077
    Avatar photo[anonymous]

    Hi! Forgot to respond to this.

    Here’s a video illustrating this: https://imgur.com/yOCJxa2

    Just hide all the tags that you don’t want appearing in the filter. You can even select the checkboxes at the left of the tag names to hide multiple at the same time.

    If I’m not mistaken, “Filter by Maintag” just means that for posts with a lot of tags, Publii will just take into account whatever the set “main tag” is when filtering those posts.

    For example, if Post A has Tag 1 and Tag 2, but only Tag 1 is set as the main tag, Post A will only appear when the user clicks on the Tag 1 filter, but not for Tag 2. However, if you turn off “Filter by Maintag”, Post A will appear when a user filters for Tag 1 and Tag 2.

    #8425
    Avatar photo[anonymous]

    I am sorry for the delay of my answer. Please excuse me.
    Thank you for your response.