Hi,
the better way, without coding, is to edit the item schema in the settings page.
The default value is:
<%child% class="event_item %class%" data-color="%color%"> <a href="%event_link%"> %event_thumbnail% <h5>%event_title%</h5> </a> %event_date% %event_cat% %event_location% %event_excerpt% </%child%><!-- .event_item -->
you can remove %event_cat% and change it to:
<%child% class="event_item %class%" data-color="%color%"> <a href="%event_link%"> %event_thumbnail% <h5>%event_title%</h5> </a> %event_date% %event_location% %event_excerpt% </%child%><!-- .event_item -->
Bastien
Bastien — This is helpful. Can you now answer my “more general” question on schemas, posted two weeks ago? I’d like ONE general item schema for most pages (which I know how to customize), but then a CUSTOM Schema for one particular page. Am I able to override the Item Schema with a special one, on one specific web page? See https://ww.wp.xz.cn/support/topic/per-page-schema-settings-advice-for-success/
Your advice and support is very good — thanks!
Paul
Thanks for the quick reply, Bastien
But it doesn´t work. I need to delete the categories of the event bar for single post.
For example: https://prueba.teatropradillo.com/espacio-para-compartir/meriendas-y-aperitivos/
I would like to show only the date
Thanks
Damned. So the only trick, at this time, is to hide it in CSS like this:
.single .event_category {
display: none;
}