Site logo

[Resolved] Set Default Sidebar Layout Programatically

Home Forums Support [Resolved] Set Default Sidebar Layout Programatically

Home Forums Support Set Default Sidebar Layout Programatically

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2546863
    David

    Hi, I’m using a function to set some default customizer options including:

    $cust_opt[‘underline_links’] = ‘never’;
    $cust_opt[‘back_to_top’] = ‘enable’;
    $cust_opt[‘dynamic_css_cache’] = false;
    $cust_opt[‘smooth_scroll’] = ‘true’;

    Which works fine, except I cannot seem to add an option to set the default sidebar layout to ‘Content (no sidebars)’.

    I’ve tried using $cust_opt[‘layout_setting’] = ‘full-width’; and all other ‘common sense’ values to replace ‘full-width’ but cannot get it to work. Can you please help?

    Thanks, David…

    #2547372
    David
    Staff
    Customer Support
    #2550551
    David

    Great, thanks as always David…

    #2550917
    David
    Staff
    Customer Support

    You’re welcome

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.