YungBricoCoop / mec-filter-hider

This WP Plugin is used to hide some filters from the M.E.C Admin page

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

M.E.C Filter Hider

This WP Plugin is made to hide some filters from the M.E.C Admin page.

Installation

  1. Download the zip file from the Release page : https://github.com/YungBricoCoop/mec-filter-hider/releases/
  2. Upload it to WordPress
  3. Activate the plugin

Settings

By default, the plugin displays all the filters.
If you want to hide only certain filters, just separate them with a comma.

In the Container and Elements inputs you can enter a JS Path request, here is the format you need to use :

For id use # (ex : #name_filter)
For class use . (ex : .name_filter)
For custom attribut use attribut=value (ex : data-filter=filter_name)
Complex JS Path can also be used

Container

The container is where the elements you want to hide are situated.
Its purpose is only to avoid hiding elements on the page other than in itself.

Elements

You can indicate multiple elements just by spliting them with commas.

Todo

  • Use React/TypeScript/Tailwind
  • Add the possibility to use it on several pages
  • Improve UI
  • Improve doc

About

This WP Plugin is used to hide some filters from the M.E.C Admin page


Languages

Language:PHP 75.1%Language:JavaScript 24.9%