single-event.php messes up event page template

WordPress Event Management, Calendars & Registration Forums General Question single-event.php messes up event page template

This topic contains 4 replies, has 2 voices, and was last updated by  Stephen Harris 9 years, 8 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #17516

    Hi, I need to use a modified single-event.php (in my child theme folder), but as soon as I upload this file ( even with original code) my event pages loose their right hand widget column.
    I cant see where these widgets can be added again to event pages?
    If i delete singe-event.php from my child theme folder I ge my widgets back in event pages.
    How can I solve this?
    Best regards, Frank

    Frank Dandenell
    #17518

    Hi Frank,

    The plugin doesn’t use the single-event.php template in event-organiser/templates – instead (unless the theme has a single-event.php) it uses single.php and inserts the event-meta-single-event.php template just before the content.

    So you can copy that template over instead. if you create a singles event.php template you would need to ensure the markup matches your theme.

    Stephen Harris
    #17525

    Sorry, I don’t understand. The theme is Sigma.
    In the single.php I see nothing referring to event-meta-event-single.php

    In in the documentation at http://docs.wp-event-organiser.com/theme-integration/how-do-i-customise-the-templates/

    it says

    single-event.php The event’s page

    event-meta-single-event.php Event details, usedy by single-event.php

    What I want to achieve is to hide the Event details i n the content column. Now it’s hidden by an hardcoded inline css in event-meta-event-single.php.

    Frank Dandenell
    #17540

    Hi Frank,

    When the theme doesnt have a single-event.php the plugin prepends the event-meta-single-event.php template to the output of the_content()

    Stephen Harris
    #17541

    Hi Frank,

    When the theme doesnt have a single-event.php the plugin prepends the event-meta-single-event.php template to the output of the_content()

    Stephen Harris
Viewing 5 posts - 1 through 5 (of 5 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.