Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1327379
    joshvce
    Participant

    Using the ICON stack. Sidebar has been specified and assigned to BLOG page. The assigned sidebar widget has content. It does not display. What gives?

    #1327629
    Jade
    Moderator

    Hi there,

    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.

    #1327743
    joshvce
    Participant
    This reply has been marked as private.
    #1328222
    Rue Nel
    Moderator

    Hello There,

    Thanks for providing the information. I have checked your site and it turns out that your global content layout in the customizer is fullwidth. You can check this setting in Appearance > Customize > Layout and Design > Content Layout. If you want to have a sidebar, please select “Content Left, Sidebar Right” or “Sidebar Left, Content right”. And if you want to have a sidebar only in the blog index, you will need to have a custom code. Please insert this following code in your child theme’s functions.php file.

    // Make sure that the blog index has a sidebar
    // =============================================================================
    function sidebar_on_blog($contents) {
      if ( is_home() ) {
        $contents = 'content-sidebar';
      }
      
      return $contents;
    }
    add_filter('x_option_x_layout_content', 'sidebar_on_blog', 5);
    // =============================================================================

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

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