Hide a category

Posted in: Newspaper
Post count: 22

Hello,
I would like to hide a category in this module http://prntscr.com/jrzjci
If I use the Multiple categories filter with -#cat-id (http://prntscr.com/jrzl10) it simply hide the posts, which is also good, but I need to hide also the title.
Any help?

Post count: 20688

Hi,

The ajax filter when enabled, by default it will display all your categories. There is a field in which you can filter those categories
https://www.screencast.com/t/mWonz7w6
Categories cannot be excluded in this field but they can be included. Enter only the category IDs you want to display. IDs can be seen here for example
https://www.screencast.com/t/HjGcvlo1ND
https://www.screencast.com/t/xcgeasInGX7S

Thanks

Post count: 22

Hi Simion,
thank you for the answer.
I didn’t see the ajax category dropdown. Anyway I still have some problem with the English versione, I’m using WPML, there are some already known issues?
http://prntscr.com/js2jqb
Thank you.

  • This reply was modified 8 years by Redicon.
  • This reply was modified 8 years by Redicon.
Post count: 20688

Hi,

Translated categories will display in the ajax filter, if you are creating a translated version of the whole page
https://www.screencast.com/t/Zx7iEAkqv
Then your translated categories will be displayed in the filter as you enter them.

Thanks

Post count: 22

Hi Simion,
the problem is this category http://prntscr.com/jsflnq which is the translation of another category which is not visible in main lang version, I don’t understand why here is visible.
Thank you

Post count: 20688

Hi,

I tested with a translated category
https://www.screencast.com/t/Z9ZdH9pf
When creating and building a page in that language, or a translated version of the page, the category should show in the filter
https://www.screencast.com/t/CgzxweoYh
https://www.screencast.com/t/FS1UELX8vf
It should not show in other languages. For me it does not
https://www.screencast.com/t/Lue8ZIjL4yQ
https://www.screencast.com/t/OjW3aTWSE

Post count: 22

Hi,
the problem is that I don’t want to show the category in both languages.
I used the “Show the following IDs” function for show only the categories which I need, in the main language
http://prntscr.com/jus8j7
Unfortunately the translated category is still visible in the second language
http://prntscr.com/jus9td
http://prntscr.com/juscqa and http://prntscr.com/juscwe

Thank you.

Post count: 20688

In my case only the categories afferent to the language of the page are shown. So for example I have only one translated category in French
https://www.screencast.com/t/8YevfAEtYCTt
While creating a page in French
https://www.screencast.com/t/OWDcRkqkEY
Enable the ajax filter, at first all the accessories will be shown, all languages
https://www.screencast.com/t/x44umIK9
If you save the page and view it, only the categories that belong to that language will show
https://www.screencast.com/t/aYmXuHvu
If you enter IDs of categories in that language, only those will show. Be sure to save the page and view it, not as you are editing it in the composer.

Post count: 22

Hi Simion,
I need to HIDE a category, not show.
Here the Italian versione of the web site http://prntscr.com/jz1e6b, as you can see the category “Slider IT” is hidden, now the translation of that category is called “Slider EN”, and it showed in the EN version of the web site http://prntscr.com/jz1ewb.
If I will specify the category which I want to show…all categories disappear http://prntscr.com/jz1h8y
Best regards.

Post count: 20688

Hi,

Please try as suggested above and save the page and then view it, the categories will be displayed. In the composer edit screen they will not be displayed. Example
https://www.screencast.com/t/6D8HTRCMat
https://www.screencast.com/t/jTQ7ZYYsZUMD
So they will disappear in the composer edit screen, when you save the page and view it they should be displayed according to your filtering.

Thanks

Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘Newspaper’ is closed to new topics and replies.