Comment on WordPress Widgets Tutorial by SEO Dave.

WordPress SEO Widget There’s a couple of ways to build custom widgets, which one to use depends on what you want to achieve.

Adding some code from an advertiser for example is best achieved using a Text Widget.

Appearance >> Widgets

Drag and Drop a Text Widget to a widget area and put your code within the form.

Might need some styling depending on what you are putting there.

Other way is code based and requires editing the file

/stallion-seo-theme/widgets/custom-widgets.php

There’s instructions within the file. The custom-widgets.php file is more for widgets you might want to use on multiple sites or there’s code within the widget that won’t work as a Text Widget.

When you add a widget to the file it will become available under Appearance >> Widgets

David