Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    try under Events > Settings > Formatting > Events > Single event page format

    Thread Starter rrosenthal

    (@rrosenthal)

    Thanks for your quick reply Angelo … much appreciated.

    I assume you’re suggesting to remove the following from the Single event page format:

    {has_bookings}
    <h3>Bookings</h3>
    #_BOOKINGFORM
    {/has_bookings}

    I’ve tried this, but still get 2 booking forms. Is there a different change you’re suggesting — or a different option?

    This sounds like a possible conflict caused by your theme or another plugin. To check if it is, can you test with all other plugins deactivated and while running the default WordPress theme?

    Thread Starter rrosenthal

    (@rrosenthal)

    If it’s a theme or plugin conflict, then it exists on both the current and new (test) sites, each with their own themes and plugin configs. I’ve tested removing the code below on both without success:

    {has_bookings}
    <h3>Bookings</h3>
    #_BOOKINGFORM
    {/has_bookings}

    One thing I noticed is that the EM plugin is pushing <h2>Booking</h2> to my event page not <h3> as above, so pretty sure none of the code in the Single event page format is being used.

    Can you advise which EM php file generates the single event page, and we can try coding it out?

    Plugin Support angelo_nwl

    (@angelo_nwl)

    agree with caimin, this might be a conflict; just to narrow down the problem and help us debug the issue is it possible to try the following temporarily:

    – deactivating all other plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
    – switching to the default theme to rule out any theme-specific problems

    also, you can try events-manager/em-events.php

    Thread Starter rrosenthal

    (@rrosenthal)

    No reason to doubt this possibility of theme and/or plugin conflicts. Deadline, however, prevents me from testing the possibility right now.

    Instead, I have created a css work-around that builds a <display: none;> trap and .showhiddenclass class with <display: block;>.

    When calling #BOOKINGFORM from my event page, I precede it with <div class=”showhiddenform”> — viola. Here’s the css that did thhe trick

    .single-event h2 { display: none; /* hides H2 from plugin */ }
    .single-event .em-booking { display: none; /* hides Booking Form from plugin */ }
    .showhiddenblock .em-booking { display: block; /* displays Booking Form on Event page */ }

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove H2 & Booking Form’ is closed to new replies.