Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1299350
    Toby
    Participant

    Hello,

    I have recently installed the ‘The Events Calendar’ plugin. On this page of my site I can not get the sidebar templates to work (either ‘default template’ or ‘content left, sidebar right’):
    http://rideexpeditions.com/motorcycle-tours-2/

    Every time I switch to either of these templates the page shows up blank. I’ve attached a screenshot of how it looks when I use one of these templates.

    Apologies for asking you guys the question! I’ve contacted the plugin support a few times and they tell me it’s a theme issue 🙁

    If you could give me any pointers it would be very much appreciated.

    Cheers

    Toby

    #1299446
    Nabeel A
    Moderator

    Hey Toby,

    Thanks for writing in! It looks like you’re using an old version of Cornerstone plugin. Please update your theme and plugins to the latest versions to avoid conflicts. You can find the latest version numbers here: (http://theme.co/changelog/) Then you can compare them to what’s installed on your site.

    If you find anything to be out of date, you can review our update guide.

    Let us know how this goes!

    #1300293
    Toby
    Participant

    Thanks for the reply. I have just updated everything and I still have the same problem.

    Cheers

    T

    #1300322
    Lely
    Moderator

    Hello Toby,

    Upon checking, this page:http://rideexpeditions.com/motorcycle-tours-2/ is an archive page. To show sidebar on archive page, please go to Appearance > Customize > Layout and Design > Content Layout : Choose Content Left, Sidebar Right. For pages, that settings should also be set for Page templates with sidebar to work.

    Hope this helps.

    #1300482
    Toby
    Participant

    Thanks Lely… I’ve just checked the steps you described and my layout is already set to ‘Content Left, Sidebar Right’.

    #1300523
    Paul R
    Moderator

    Hi Toby,

    To add sidebar to that page, you can add this in your child theme’s functions.php file.

    
    function add_my_sidebar($contents) {
      
      if ( is_page_template('tribe-events-page-template') ) {
          $contents = 'content-sidebar';
      }
      
      return $contents;
    }
    
    add_filter('x_option_x_layout_content', 'add_my_sidebar');
    

    Hope that helps.

    #1300531
    Toby
    Participant

    Thanks Paul, I’ve added the code but it doesn’t seem to have changed anything.

    #1301028
    Rue Nel
    Moderator

    Hello There,

    Sorry if it didn’t work out. Please have it updated and use this instead:

    function add_my_sidebar($contents) {
      
      if ( is_post_type_archive('tribe_events') ) {
          $contents = 'content-sidebar';
      }
      
      return $contents;
    }
    
    add_filter('x_option_x_layout_content', 'add_my_sidebar');

    We would loved to know if this has work for you. Thank you.

    #1301536
    Toby
    Participant

    Thanks Rue. I’ve changed the code and I still have the same problem.

    Cheers

    #1301608
    Paul R
    Moderator

    In that case, would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1301880
    Toby
    Participant
    This reply has been marked as private.
    #1302289
    Lely
    Moderator

    Hello Toby,

    Unfortunately, I can’t login at the moment. On my first try to login, I got this error:
    ERROR: This account has been locked because of too many failed login attempts. You may try again in 17 hours.

    #1302604
    Toby
    Participant
    This reply has been marked as private.
    #1302667
    Paul R
    Moderator

    Hi Toby,

    The page is generate by the events calendar plugin.

    Regretfully, we cannot provide support for third party plugins or scripts as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.

    This might help – https://theeventscalendar.com/knowledgebase/themers-guide/

    Thank you for your understanding.

  • <script> jQuery(function($){ $("#no-reply-1299350 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>