Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jh5512

    (@jh5512)

    Think I solved it already. Tried removing browser cookies and cache – no luck. But…
    By adding these lines to wp-config.php.

    
    define('ADMIN_COOKIE_PATH', '/');
    define('COOKIE_DOMAIN', '');
    define('COOKIEPATH', '');
    define('SITECOOKIEPATH', '');
    

    It works fine now. Found the code here : https://tommcfarlin.com/resolving-the-wordpress-multisite-redirect-loop/ ,
    what is weird is that this article suggest a clearing of browser cookie + cache will do the same thing. That is not what I experienced.

    • This reply was modified 9 years, 3 months ago by jh5512.
    Thread Starter jh5512

    (@jh5512)

    I found a hacky temporary fix that isn’t disabling the sidebar as I wanted but rather hiding it and upscaling the main wrapper to use 100% width.

    With this LESS code:

    body {
      	&.tribe-theme-child-devdmbootstrap3-child-mil{
      		.dmbs-main{
      			width: 100%;
      		}
      		.dmbs-right{
      			display: none;
      		}
      	}
    }

    So if anyone finds a solution to have my sidebar remain disabled on this calendar page, even after the calendar plugin is activated, I would still be interested in hearing how this would be done.

    Thread Starter jh5512

    (@jh5512)

    I should add that I made a page template for my calendar page titled ‘Kalendar’. It goes like this:

    <?php
    /*
    Template Name: Kalender
    */
    ?>
    
    <?php get_header(); ?>
    <?php get_template_part('template-part', 'head'); ?>
    <?php get_template_part('template-part', 'topnav'); ?>
    
    <!-- start content container -->
    <div class="row dmbs-content">
    
        <div class="col-md-<?php devdmbootstrap3_main_content_width(); ?> dmbs-main">
    
        </div>
    
        <?php //get the right sidebar ?>
    
    </div>
    <!-- end content container -->
    
    <?php get_footer(); ?>

    And I have tried to change the “col-md-<?php devdmbootstrap3_main_content_width(); ?> to col-md-12 and its not helping. The result is the same. I get both a main col-md-9 wrapper as well as a col-md-3 sidebar wrapper (when I set my calendar to output its view on this page that is).

Viewing 3 replies - 1 through 3 (of 3 total)