Hi,
Glad you’re enjoying the plugin.
Excluding a category in search could only be done with custom coding. You can exclude a category from an event list by using a shortcode like this, where 123 is the ID of the category you want to exclude:
[events_list category="-123"]
is possible know what file I can modify and the code?
Because I’m not a code developer, and it’s very difficult for me.
Thank you.
you can try the shortcode declaration under events-manager/em-shortcode.php
Sorry Angelo,
I would like modify this page, not the shortcode, it’s the same?
http://www.irpet.it/eventi
Thank you!
Are you using a shortcode to display that page?
I’m choosen the page to see the events by settings.
Infact in the page is written “CONTENTS”.
Thank you.
“CONTENTS” on that page… is a “code” that inserts the information as noted below…
Settings -> Events
Events Manager Options
–> Formating
click ->Events (it expands to “Events Page”)
There are three parts here…
“Default event list format header”
“Default event list format” this is like the “body”
“Default event list format footer”`
So to do what you wish.. we may have to write a little bit of code to exclude your “category”… it’s not difficult.
<strong>So please post here
The three parts here… That you see in the “boxes”</strong>
“Default event list format header”
“Default event list format” this is like the “body”
“Default event list format footer”
We would be replacing the words CONTENET with the code…
-
This reply was modified 8 years, 10 months ago by
Robswaimea.
Hey ! sorry to ask here but I have the same issue, [events_list category=”-16″][/events_list] with this shortcode I don’t know where to put it in the default event list format. I try many spot but does’nt work correctly