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
0 comments:
Post a Comment