Sign in
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

  • This topic has 4 replies, 2 voices, and was last updated 1 year, 5 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #7585
    Avatar photoclac1

    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.

    Avatar photocandidexmedia

    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”

    Avatar photoclac1


    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.

    Avatar photocandidexmedia

    Hi! Forgot to respond to this.

    Here’s a video illustrating this:

    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.

    Avatar photoclac1

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

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Mercury Maintag’ is closed to new replies.