Log in to support

How to set a default sidebar

How to set a default sidebar
June 25, 2013 Cosmin - SUPPORT

To set the default selection when you create a new post, edit /includes/meta-boxes.php line 344:

'std' => 'no-sidebars',

Then in single.php, above line 22 add:

if ($sidebar_config == "") {
$sidebar_config = "right-sidebar";
}

Comments (0)

Leave a reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.