• Resolved imeldesign

    (@imeldesign)


    I love this plugin. It is so easy to customize. That being said I have the following question:
    How can I remove just one category from the main events page? Preferably using code in the functions.php file.
    I know I can use an event list with categories shortcode which is what I am currently using. I want the search feature on the page due to the number of events in the main category.

    Melanie

    https://www.ads-software.com/plugins/events-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey Melanie,

    Glad you’re enjoying the plugin.

    The easiest way to run a category filter on the main events page is to generate the list with a shortcode like this (where 5 is the ID of the category you want to filter out):

    [events_list category=-5]

    This might help
    https://wp-events-plugin.com/documentation/shortcodes/

    Thread Starter imeldesign

    (@imeldesign)

    Yes. I know as I said in my post (I know I can use an event list with categories shortcode) but as I also said in my post I DIDN’T want to do that because I wanted to have the search feature. If I can eliminate the one category from the main events page I can continue using it along with the search feature.

    My client won’t know the difference but I would like the search feature since he is having about 50 events and the search feature with the near would be an excellent addition as his seminars are all around the country.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    sorry at the moment you need to use shortcode events_list with category search attribute as per caimin suggested since this is not available in the default event listing option.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘remove one category from main events page.’ is closed to new replies.