We have a few private events which we don’t want displayed on our site. All works fine except with the Custom Template Display addon. Can anyone help me out with what I would need to change so that only events in a certain category are displayed on this page.
You’ll need to change the 1 in the code to the id of the category you want to display. Not the long category identifier, but the integer in the first column of the category table.
This reply was modified 10 years, 4 months ago by Sidney Harrell.
This reply was modified 10 years, 4 months ago by Sidney Harrell.
This reply was modified 10 years, 4 months ago by Sidney Harrell.
I tried that and when I reload the page, I am presented with empty data in the rows and the category selector below. I am sure i am doing something wrong.
Change 123 to the category id that you are trying to show events for. This will be a number.
—
Lorenzo
Viewing 6 reply threads
The support post ‘Custom Template Display – don't display certain categories’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.