One of the basic things to do when you’re creating a wordpress theme is to add Widget areas and a lot of times you will end up building a full theme just using widets. Procedure is quite easy:
We open the functions.php and locate the following line:
Then we add our instruction:
Where “Widget Panel Name” will be the one visible at the admin, and “widget-code” will be the one we will use inside the theme php.
Now we just need to add the instruction inside our theme, for me, I wanted to show a Geo post location map for the author’s post. the instruction to add the widget is this:
Remember to add some style so it doesn’t break, and this is everything you need to do to add your personalized widget area.
Help tatica and donate with paypal!