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

    yes that might be possible, you can modify template file at wp-content/plugins/events-manager/templates/templates/events-list.php

    e.g.
    you can add $args['category'] = "-64"; where -64 is the events category id

    to use templates: https://wp-events-plugin.com/documentation/using-template-files/

    Thread Starter loauc

    (@loauc)

    Great. It’s working as expected.

    Thanks!

    HI,

    I have the same request as the OP and I followed the documentation regarding template files and ive added the ” $args[‘category’] = “-13”; ” to my events-list.php file and I am unable to exclude events in that category from the main events list.

    I am a total n00b when it comes to PHP and fairly new to WP. Is there a specific way I am supposed to add that code to the PHP file? Ive read some of the documentation but a lot of it is beyond my current knowledge.

    any help would be awesome!

    Thanks!

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