cialis online pharmacy generic xenical cheap cialis online cialis generic viagra online in canada buy cheap levitra online cialis without a perscription order viagra uk no prescription flagyl cheap generic levitra buying viagra in the uk cheap viagra approved cialis deltasone online buy viagra online without prescription non prescription cialis buy orlistat uk buy cialis in india prednisone 60 mg female viagra online buy viagra without prescription celebrex prescriptions buy cialis canada best prices viagra alternative to prednisone cheapest generic levitra levitra 5mg cheap viagra cialis on line buy xenical without prescription online accutane canadian health care prednisone no prescreption viagra online generic female viagra europe buy cialis low price cheap india viagra

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.

Related Posts

WordPress Twenty Sixteen Theme: First Look

HeatMap Adsesnse Theme for WordPress

Starter Responsive WordPress One-Page Theme

Magpress Responsive WordPress Theme