• Resolved MarkMadeDesign

    (@markmadedesign)


    Hi. Is there a way to remove “Category B” and “Category C” from the top category tabs for a filtered gallery where I selected “Category A” as the specific taxonomy to show, but these posts with A also have B and C as additional categories. Does that make sense?

    It’s a protected page for now and I would send a screenshot if I could for clarification.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Nikita

    (@nko)

    Hey.

    Unfortunately, it is not possible without code/style customizations for now. We have plans to make an advanced filtering system in the Pro plugin, which will allow you to customize the filter list.

    Regards, nK.

    Thread Starter MarkMadeDesign

    (@markmadedesign)

    Thanks for the response NK. I did just notice an attribute (data-vp-filter) on the resulting links for each category in a filtered list. Is there a way via CSS to add the following to the link tag to single these out so I could hide the extra categories using {display:none}?

    e.g. – data-vp-filter=”commercial-office”

    Plugin Author Nikita

    (@nko)

    Yep, you can try something like this one:

    .vp-filter__item > [data-vp-filter="commercial-office"] {
      display: none;
    }

    Regards, nK.

    • This reply was modified 2 years ago by Nikita.
    Thread Starter MarkMadeDesign

    (@markmadedesign)

    Thanks NK. One step ahead of you and went to test it out a few days ago and it’s actually working, hiding the unnecessary categories from the filter tabs. I appreciate it your response.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Removing additional categories from filtered titles with 1 taxonomy selected’ is closed to new replies.