This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Reply To: AddThis Widget Works on Normal Page, Not in Custom Layouts

#2035
bvalliance
Member

Jason – thank you for the reply! I added what you suggested to the functions.php of my child theme (“SPO”). It did not change it. Here’s the entire functions.php:

<?php
/*-------------------------------------------------------*/
/* Run Theme Blvd framework (required)
/*-------------------------------------------------------*/

require_once ( TEMPLATEPATH . '/framework/themeblvd.php' );

/*-------------------------------------------------------*/
/* Start Child Theme
/*-------------------------------------------------------*/

// Start the party ...

// Add stylesheet - Level 4, will get added after EVERYTHING
themeblvd_add_stylesheet( 'custom_styles', get_stylesheet_directory_uri().'/assets/css/custom.css', 4 );

/* Mods suggested by Jason Bobich to fix AddThis widget: */
function my_reset_query(){

      wp_reset_query();

}

add_action( 'themeblvd_main_bottom', 'my_reset_query' );