A Single Mutation WordPress Theme Sidebar Widgets Support



A Single Mutation WordPress Theme Sidebar Widgets Support 
What do you do when, after an extensive search for the perfect theme WordPress who love you, suddenly you encounter an error message saying that your new theme does not support sidebar widgets?

Try these steps to change the sidebar widgets to fix it!

First Backup your files and subject files.

2. Edit the functions.php file and paste these lines of code at the beginning of the file - and save it.

<?php
if ( function_exists(’register_sidebar’) )
register_sidebar();
?>


3. Edit sidebar.php and paste these lines of code just below the first <ul> label file.

<?php if ( !function_exists(’dynamic_sidebar’)
|| !dynamic_sidebar() ) : ?>



4. Even within the sidebar.php file, paste this line of code just above the last </ul> tag file and save it.

<?php endif; ?>

Now, try to change the sidebar widgets, it should work now.

A Single Mutation WordPress Theme Sidebar Widgets Support 
Share on Google Plus

About admin

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment