Tagged: sensei
-
AuthorPosts
-
March 16, 2015 at 1:22 am #411777
Dear Kriesi-Team,
Today I installed the Plugin Sensei from Wootheme. Unfortunatly I have a error:
“Your theme does not declare Sensei support – if you encounter layout issues please read our integration guide or choose a Sensei theme :)”
Also the Layout of the pages from sensei is broken.
How do I can integrate sensei into enfold (child-theme)? I already read some other posts here, but I still don´t know what to do.
Thanks for your help!
MajaMarch 16, 2015 at 5:33 pm #412343Hi Maja!
Please refer to Peter’s post here – https://kriesi.at/support/topic/enfiold-and-learning-plug-ins/#post-296429
Cheers!
YigitMay 20, 2015 at 11:51 am #447046Hey Enfold – Team,
I still have problems to integrate Sensei into Enfold. I have read and follow this article from sensei http://docs.woothemes.com/document/sensei-and-theme-compatibility/
, but I think I have an error in my code. Could you check this please and tell me, what is wrong?
This was in the function.php of my child theme:
_______________<?php
/*
* Add your own functions here. You can also copy some of the theme functions into this file.
* WordPress will use those functions instead of the original functions then.
*/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_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”>’;
}<div class=’container’>
<main class=’template-page content <?php avia_layout_class( ‘content’ ); ?> units’ <?php avia_markup_helper(array(‘context’ => ‘content’,’post_type’=>’page’));?>><?php
/* Run the loop to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-page.php and that will be used instead.
*/$avia_config[‘size’] = avia_layout_class( ‘main’ , false) == ‘entry_without_sidebar’ ? ” : ‘entry_with_sidebar’;
get_template_part( ‘includes/loop’, ‘page’ );
?><!–end content–>
</main><?php
//get the sidebar
$avia_config[‘currently_viewing’] = ‘page’;
get_sidebar();?>
function my_theme_wrapper_end() {
echo ‘</div><!– #content –>
</div><!– #container –>’;
get_sidebar();
}______________
Thanks so much!
MajaMay 20, 2015 at 3:46 pm #447191Hi Maja
Have you installed the files Peter uploaded in the topic i posted above?
Cheers!
YigitMay 20, 2015 at 5:04 pm #447285Hey Yigit,
no, because thats about the comments and also so much other things between in the other post. Could you please just tell me, what I have to change in my code? I don´t understand the other post!
Thanks,
MajaMay 25, 2015 at 5:30 am #449346Hey!
Please read the previous thread, it clearly explains the theme’s current stand regarding the sensei plugin. According to our team leader:
1) You have to update the template of the single lessons ( content-single-lesson.php ). Copy the template from the sensei folder into the theme folder.
2) No sidebar options, etc. are not supported. You can definitely add them but this would require advanced templates for sensei. Officially we don’t support this plugin (but just woocommerce, bbpress and WPML) and thus this customization is beyond the scope of our support forum. I recommend to hire a freelancer for this job.
You can contact codeable to configure the plugin: http://kriesi.at/contact/customization
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.