Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/lylahnic/public_html/dev.wpwhatnot.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340
That’s Not All

Developer's Roundtable Notes

Session: 2015-11 The Wonderful World of Widgets

Widgets

What are widgets?

Basically, they are containers for content that can be placed – and moved around – in your site without coding.

And, perhaps one of the more non-intuitive parts of WordPress.

 

Sidebars

Sidebars don’t have to be sidebars. They can be placed anywhere in a template.

More accurately, they are “widget areas”.

Sidebars are specific to your theme, while widgets are content, and so will survive a theme change.

Create a New Sidebar


Fatal error: Uncaught Error: Call to a member function id() on array in /home/lylahnic/public_html/dev.wpwhatnot.com/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php:36 Stack trace: #0 /home/lylahnic/public_html/dev.wpwhatnot.com/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(538): CrayonFormatter::format_code('', Array, Object(CrayonHighlighter)) #1 [internal function]: CrayonFormatter::delim_to_internal(Array) #2 /home/lylahnic/public_html/dev.wpwhatnot.com/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(516): preg_replace_callback('#()#msi', 'CrayonFormatter...', 'add_action( 'wi...') #3 /home/lylahnic/public_html/dev.wpwhatnot.com/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(166): CrayonFormatter::format_mixed_code('add_action( 'wi...', Object(CrayonLang), Object(CrayonHighlighter)) #4 /home/lylahnic/public_html/dev.wpwhatnot.com/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(186): CrayonHigh in /home/lylahnic/public_html/dev.wpwhatnot.com/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 36