Hello,
how could I hide specific post tag on front end (single post page). Tag is used as filter for certain posts but I would like to hide it for visitors (only tag, not the post itself). I am talking for 3 tags with slugs: oglas-1, oglas-2, oglas-3 (which means Ad-1, Ad-2, Ad-3).
Thank you for help
Hello @Peter_86!
Please provide more information about the issues you have, screenshots or a video and your website link, so I can help you efficiently.
A solution for sending a screenshot/video is this:
Download, capture, send: https://www.techsmith.com/jing-tool.html
After making the screenshot, you will have a link, paste it here.
Thank you!
Hello,
this is the link to advertorial (payed content): https://www.modre-novice.si/oglas/prenovljeni-tus-market-domzale-dom-pozdravil-prve-kupce/
I am using 3 tags for ads just as a filter option. So advertorials always appear at specific places on hompage of the portal: https://www.modre-novice.si
For Ad 1 element I have category filter set as Oglas (ad), post tag Oglas 1 (Ad 1) and sort order to random, so only here all posts with these settings would appear. Same goes for Ad 2&3 elements, only tags here are Oglas 2, Oglas 3 …
See image here: https://www.modre-novice.si/wp-content/uploads/2022/03/ads-homepage.jpg
I would like to hide just these 3 tags (Oglas 1, Oglas 2, Oglas 3) on landing pages of the advertorial posts (payed content).
See image here: https://www.modre-novice.si/wp-content/uploads/2022/03/advertorial-single-page.jpg
I hope I was clear what I am trying to achieve 🙂
Thank you!
Peter
Hello Peter!
If you want to exclude the ad1,2,3 from that block then you can exclude the category Oglas from the homepage in that flex block by writing -ID, check the guide here: https://forum.tagdiv.com/flex-block-settings-guide/
If you want to exclude the tag Oglas 1,2,3 from the articles, then there is no setting for that because that element brings automatically all the tags that you have for the current post/article.
Thank you!
Hello,
If I don’t use stated tags, than same advertorial can appear on 2 or on all 3 flex blocks at once. That Is why I use tags as a aditional filter option on 3 modules/blocks that are used for showing adverts on homepage.
Is there option to hide these specific tags from showing on single page of the advert even though it is assigned to it with some kind of CSS and .class? Maybe If one of your coding experts could help? 🙂
Thank you!
BR, Peter