An introduction to the powerful tools that are WordPress widget areas.
In this presentation, we'll cover the basics of how widgets and widget areas work within WordPress themes, including:
Intro to widget areas
What kinds of content are appropriate for the widget areas
What widgets can help accomplish what you need
Widgets you may not know about
Managing widgets when changing themes
Plugins that come with widgets
Creating your own widget areas (basic intro)
8. Types of Widgets
‣ Recent Posts
‣ Recent Contents
‣ Search
‣ Meta
‣ Text Widget
www.tadpole.cc
9. Shortcodes in the Text Widget
Add this code to functions.php
add_filter('widget_text','do_shortcode');
and now shortcodes will work in the text widget!
www.tadpole.cc
10. Widgets & Plugins
‣ Membership
‣ Events
‣ Social Media
‣ Advertising
‣ and lots more...
www.tadpole.cc
12. Widget Areas in Themes
http://wordpress.org/extend/themes/spine/
http://wordpress.org/extend/themes/pinboard/
http://wordpress.org/extend/themes/leaf/
www.tadpole.cc
13. Create your own Widget Area
<?php get_header();
get_content(); get_sidebar();
get_footer(); ?>
www.tadpole.cc
14. Create your own Widget Area
header.php
content.php sidebar.php
footer.php
www.tadpole.cc
15. Create your own Widget Area
‣ Step 1: Define Sidebar in
functions.php.
‣ Step 2: Add sidebar to
theme location.
www.tadpole.cc