Posted: March 2, 2018 at 1:23 pm
|
Dears, I hope this finds you well, three years ago i raised this topic “Hiding events from an event list” the following code worked for the archive page (pdc-gd.com/eventsss/)
.post-type-article .type-article.tag-hidden {display: none;} can u please help |
Hi Khalid, I can recommend a different approach that doesn’t use CSS, that still makes use of the hidden tag you’ve applied already. You can add this PHP code to your site to remove those events from the event lists:
You can add the above to a functions plugin or into your WordPress theme’s functions.php file. |
|
|
I couldn’t access plugin editor for some reason since the wordpress version is installed through Godaddy. so i tried the second option and added it to theme’s functions.php but it did not work please check the code, (the theme used is baskerville) |
|
kind reminder |
You can use FTP to upload files with code to your site’s wp-content/plugins folder. This guide has more details: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ |
|
The support post ‘Hiding events from the event list’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.