Tagged: x
-
AuthorPosts
-
March 26, 2017 at 3:11 am #1420492
Hi there, I am having issues integrating the wrappers for Sensei –
I’ve added the following to my child theme –
// Remove Sensei Wrappers
global $woothemes_sensei;
remove_action( ‘sensei_before_main_content’, array( $woothemes_sensei->frontend, ‘sensei_output_content_wrapper’ ), 10 );
remove_action( ‘sensei_after_main_content’, array( $woothemes_sensei->frontend, ‘sensei_output_content_wrapper_end’ ), 10 );// Add Sensei Wrappers
add_action(‘sensei_before_main_content’, ‘my_theme_wrapper_start’, 10);
add_action(‘sensei_after_main_content’, ‘my_theme_wrapper_end’, 10);function my_theme_wrapper_start() {
echo ‘<div id=”container”><div id=”content” role=”main”>’;
}function my_theme_wrapper_end() {
echo ‘</div><!– #content –>
</div><!– #container –>’;
get_sidebar();
}add_action( ‘after_setup_theme’, ‘declare_sensei_support’ );
function declare_sensei_support() {
add_theme_support( ‘sensei’ );
}But its still not working.
March 26, 2017 at 3:14 am #1420493This reply has been marked as private.March 26, 2017 at 10:25 am #1420694Hi there,
Thanks for writing in! It sounds like you might be having an issue with a third party plugin or script. Regretfully, we cannot provide support for third party plugins or scripts as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.
Thank you for your understanding.
-
AuthorPosts