Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    you could do this by editing your template files e.g. https://wp-events-plugin.com/documentation/using-template-files/

    you want templates/event-single.php

    Thread Starter customedia

    (@customedia)

    I tried that but as you can see the file happen to be empty. There is only a function. The documentation as well doe not help much it just talks about an alternative way to affect the templates. I doen’t mention anything about modifying certain layouts, which template is used depending on the situation and etc. I believe that should be documented as it is a necessity for development and theme modification.

    <?php
    /*
     * This page displays a single event, called during the em_content() if this is an event page.
     * You can override the default display settings pages by copying this file to yourthemefolder/plugins/events-manager/templates/ and modifying it however you need.
     * You can display events however you wish, there are a few variables made available to you:
     *
     * $args - the args passed onto EM_Events::output()
     * THE LOOK CAN BE MODIFIED IN THE SETTING PAGE
     */
    global $EM_Event;
    /* @var $EM_Event EM_Event */
    if( $EM_Event->status == 1 ){
    	echo $EM_Event->output_single();
    }else{
    	echo get_option('dbem_no_events_message');
    }
    echo("sss");
    ?>
    Thread Starter customedia

    (@customedia)

    i’ve found another way to fix it, the page i was looking for was indeed in the template section EM ->Template ->Template -> my-bookings.php
    The button I was looking for happen to be there.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Events Manager] Theme the Event Page -> Booking’ is closed to new replies.