Support

Home Forums Event Espresso Premium Event registration page blank

Event registration page blank

Posted: December 28, 2012 at 11:32 pm

Viewing 2 reply threads


Tony Cosentino

December 28, 2012 at 11:32 pm

Not sure if a plugin or the theme is conflicting with the
[ESPRESSO_EVENTS] shortcode

Any help on what might be causing this would be greatly appreciated.
(There are no custom templates in use)

Event to test with is here
http://positivepersuasion.com.au/event-registration/?regevent_action=register&event_id=3


Josh

  • Support Staff

December 29, 2012 at 12:10 pm

Hi Tony,

In this case, it’s a plugin conflict with the latest update of Jetpack. The conflict will only manifest itself if both the Publicize and Sharing modules are active. When either of these modules are active, opengraph tags get added to the head of the document, which seems to be causing the trouble.

These modules can be deactivated on the main Jetpack settings page by clicking the Learn more button, then clicking the Deactivate button that appears to the right of the Learn more button.

If you’d prefer to use either of these modules, you can disable the opengraph tags by adding a function like this to a custom functionality plugin -or- if you have Event Espresso’s custom files add-on installed, you can add it to the custom_functions.php file:

function disable_jetpack_og_on_regpage() {
    if ( is_page(4) ) {
        remove_action( 'wp_head', 'jetpack_og_tags' );
    }
}
add_action( 'template_redirect', 'disable_jetpack_og_on_regpage' );

In the above code example the main registration page, as set in Event Espresso>General Settings, has the ID of 4. You’ll need to swap out the page ID value with the one that’s set on your site.


Tony Cosentino

December 29, 2012 at 3:41 pm

Hi Josh,
Thanks so much for the quick response.
Had a win thank to you, its now working correctly.

I had to disable both Sharing and Publicize to get it to work.

Also had to delete the cache from wp super cache of course (for anyone else reading this using caching plugins)

You help was greatly appreciated.

Viewing 2 reply threads

The support post ‘Event registration page blank’ 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.

Event Espresso