Support » Plugin: Event post » remove/hidden categories

  • Resolved carlosdt

    (@carlosdt)


    Hi,

    How can I hide or remove the categories that appear below the date?

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Bastien Ho

    (@bastho)

    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://wordpress.org/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

    Plugin Author Bastien Ho

    (@bastho)

    Damned. So the only trick, at this time, is to hide it in CSS like this:

    .single .event_category {
    	display: none;
    }

    Thanks Bastien!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.