Add HTML [br] break tag to a Widget Title in WordPress

By default you can’t add HTML to a Widget Title in WordPress, such as a break tag <br>, you can get around this by adding a filter to allow shortcode to the title area…. In functions.php file in your child theme add: add_filter(‘widget_title’, ‘do_shortcode’); add_shortcode(‘br’, ‘ng_shortcode_breaktag’); function ng_shortcode_break( $attr ){ return ‘<br />’; } Now…

Read More

How to Create Custom WordPress Template Posts, Pages, Headers, Footers and Sidebars

How to create new WordPress templates for your theme including posts, pages, headers, footers and sidebars. To change the WordPress home page edit the index.php in the main theme  if using a child theme, just copy and then edit the file in your child theme folder alternatively you can create/edit front-page.php  – this will take priority over the index.php To make a…

Read More

Making Full Width Headers and Footers in WordPress TwentyTwelve Theme

How to create a full width header and footer in WordPress’s responsive Twenty Twelve theme. Example Site. Create a Child Theme First up  you should really create and work from a Child Theme Make Header and Footer Copies to Child Theme Copy your header.php and footer.php files from twentytwelve to your twentytwelvechild theme folder. Your…

Read More