Okay
  Public Ticket #2419291
Single Page
Closed

Comments

  • mb9463x started the conversation

    Hi there, 

    I would like to edit the layout for the single event pages. Can you advise how to do that?

  •  894
    Zhivko replied

    To modify the existing page you can edit file stachethemes_event_calendar\view\front\pages\single.php

    To create one from scratch, in your theme main folder create file single-stec_event.php.


    Stachethemes Developer

  • mb9463x replied

    Is it possible to view and edit the pages within the Wordpress Pages menu?

    Essentially all i'm looking to do is remove the sidebar. Alternatively is there an easy way to assign a sidebar to it without having to upload / modify the php template directly?

  •  894
    Zhivko replied

    Try adding following filter in your theme or child theme (whichever is active) functions.php file:

    // Disable active sidebar for stec single page
    add_action('stec_single_wp_head', function(){
        add_filter('is_active_sidebar', function(){
           return false; 
        });
    });

    Stachethemes Developer