Add home widgets to every page

WARNING!

Please note that guides are just that, guides. Concerning customization guides we cannot assist with implementation at the one on one level and you instead may wish to hire a web pro for hands-on assistance.

  • Make sure you have a child theme.
  • Access you server using a FTP client like FileZilla
  • Create a file called functions.php and paste the code in
  • Copy the file to …/wp-content/themes/responsive-child

Code

<?php
// Add home widgets to every page
function include_home_widgets(){
	get_sidebar('home');
}
add_action('responsive_wrapper_end', 'include_home_widgets');

?>

 

 

Categories: