Single Event Page

Home Forums Calendar Products Events Calendar PRO Single Event Page

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1386579
    Byron
    Participant

    My single event page is in wide layout view when the rest of the site is in box. How do I change the page layout on the single event page to match my site?

    #1386755
    Courtney
    Member

    Hi Byron

    Test how your /events page looks when you change these settings: Events ยป Settings ยป Display ยป

    Default stylesheet used for events templates

    & Events template.

    display templates

    Let me know if this helps.

    Thanks
    Courtney ๐Ÿ™‚

    #1386782
    Byron
    Participant

    I tried all three and all three were wide layout.

    #1387298
    Courtney
    Member

    Hi Byron

    In this case, you could reach out to your theme developer and see if anyone else has had a similar issue using that theme.

    While not ideal, I would suggest using a shortcode to achieve this.

    We do offer Calendar View Shortcodes and Widget Shortcodes

    Thanks
    Courtney ๐Ÿ™‚

    #1387357
    martin75
    Participant

    i had exact same issue , i used the following to have full width calendar page ,and a matching theme page with sidebar for the event pages place it in the themes functions.php

    function tribe_theme_template_chooser ( $template ) {
    
    	if ( ! tribe_is_event() ) return $template;
    
    	/*
    	 * Example for changing the template for the single-event page to custom-page-template.php
    	 * Template is usually set to /plugins/the-events-calendar/src/views/default-template.php
    	 * You might wish to include some things from that template in your custom one, such as
    	 * the function tribe_get_view() which helps format the content within your template.
    	 * You can modify this example to set the template for any tribe page. Month view could be
    	 * modified by instead using the tribe_is_month() condition.
    	 */
    
    	// Single event page
    	if ( is_single() ) {
    		$template = locate_template( 'single_event1.php' );
    	}
    
    	return $template;
    }
    add_filter( 'template_include', 'tribe_theme_template_chooser', 11 );

    change single_event1.php to page.php or single.php or even default.php i had to try a few of the themes templates….
    hope it helps may not work for your theme but it did for me (ps it didnt help with organizer or venues pages had to do it different for those) good luck

    • This reply was modified 8 years, 5 months ago by martin75.
    #1387373
    Courtney
    Member

    Thanks for sharing that. Byron, I’d love to know if this code works for you.

    Thanks
    Courtney ๐Ÿ™‚

    #1403707
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Single Event Page’ is closed to new replies.