A Simple Edit WordPress Theme to Support Sidebar Widgets
What do you do, when after an exhaustive search for the perfect WordPress theme that you love, all of a sudden you run into an error message saying that your new theme doesn’t support your sidebar widgets?
Try these steps to edit the sidebar widgets to fix it!
1. Backup your theme files and folders.
2. Edit the functions.php file, and paste these lines of code to the top of the file — and Save It.
<?php
if ( function_exists(’register_sidebar’) )
register_sidebar();
?>
3. Edit the sidebar.php file, and paste these lines of code right below of the first <ul> tag of the file.
<?php if ( !function_exists(’dynamic_sidebar’)
|| !dynamic_sidebar() ) : ?>
4. Still inside the sidebar.php file, paste these line of code right above of the last </ul> tag of the file and save it.
<?php endif; ?>
Now try to edit your sidebar widgets, it should be working now.
Incoming search terms for the article:
- easy editable theme for wordpress
- wordpress theme frameworks html5
- wordpress simple edit
- simply editable wordpress theme web design
- simple wordpress theme with widgets
- simple wordpress theme
- simple editable wordpress theme
- light simple theme wordpress 2011 november
- incoming search terms wordpress
- edit php files