Tagged: sensei
-
AuthorPosts
-
May 10, 2016 at 7:29 pm #630200
Hi guys,
Is enfold compatible with woothemes’ plugin Sensei?
I have a new client who wants to have a teaching site and I’ve recommended to use Enfold (again) but need the capability of closed of student area and their own profile pages with the classes they’ve completed etc.
If Sensei isn’t compatible, can you recommend another plugin or a way to do this?
Thanks,
Krissie
May 10, 2016 at 10:19 pm #630268Hey Krissie!
Yes, Enfold is actually compatible at tested with Sensei, latest version.
I did checked ir right now and seems that there was no issues at all.
if you do find something, feel free to let us know and we will make sure to fix it.Thanks a lot
Best regards,
BasilisMay 18, 2016 at 1:37 pm #634424Hi Basilis, the opening and closing wrappers are missing for Sensei. Just checked on a new site with latest Enfold + Child installed. Missing sidebar too. Styles are not from Enfold. Any tips?
May 19, 2016 at 9:46 am #635069Hi,
The plugin is compatible but not fully configured in the theme. The plugin will use its own styling. Please give us a link to the page, we would like to check it.
Best regards,
IsmaelMay 19, 2016 at 9:55 am #635076Hi Ismael, the site is https://innerlife-rabe.de/courses-overview/
I followed Peters thread and dowloaded the start- and end-wrappers. But since Sensei 1.9 some changed in Sensei and I tried changing the wrapper files in that way, but I am not happy with what I have done.
Start-wrapper:
<?php if ( ! defined( 'ABSPATH' ) ) exit; /** * Content wrappers * * @author Automattic * @package Sensei * @category Templates * @version 1.9.0 */ global $avia_config; /* * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory. */ get_header(); if( get_post_meta(get_the_ID(), 'header', true) != 'no') echo avia_title(); do_action( 'ava_after_main_title' ); ?> <div class='container_wrap container_wrap_first main_color <?php avia_layout_class( 'main' ); ?>'> <div class='container'> <main style='padding-right:40px' class='template-page content <?php avia_layout_class( 'content' ); ?> units' <?php avia_markup_helper(array('context' => 'content','post_type'=>'page'));?>>
End wrapper:
<?php if ( ! defined( 'ABSPATH' ) ) exit; /** * Content wrappers * * @author Automattic * @package Sensei * @category Templates * @version 1.9.0 */ ?> <!--end content--> </main> <?php //get the sidebar $avia_config['currently_viewing'] = 'page'; get_sidebar(); ?> </div><!--end container--> </div><!-- close default .container_wrap element --> <?php get_footer(); ?>
And extra styles in Enfold Child styles.css:
#top.single-lesson #comments{ clear: both; padding-top: 30px; } header.archive-header {margin-bottom: 30px;} div.nav-next.fr, div.nav-next.fl { padding-bottom: 30px;} section.course-meta, section.sensei-breadcrumb {padding-top: 30px;} /*.container_wrap, .main_color, .sidebar_right {padding-top: 30px;} */ ol#sensei-quiz-list {padding-left: 25px; padding-right: 25px;} #main .course, #main .course-container, #main .lesson, #main .lesson-container { padding-top: 30px;}
Beside I saw in Sensei docs that they gave us with Sensei 1.9 another way integrating Sensei in a theme by writing some code in functions.php of theme. But I was unsure doing it in that way.
Thanks, Adrian
- This reply was modified 8 years, 6 months ago by adrianwackernah.
May 20, 2016 at 3:38 am #635650Hi!
The sensei container is wrapped inside the main container along with the sidebar, so it looks correct. Thank you for sharing this.
Regards,
IsmaelJune 7, 2016 at 5:38 pm #644222Here is the documentation on how to specify your own start and end wrappers in you functions.php file.
https://docs.woothemes.com/document/sensei-and-theme-compatibility/
I am using the enfold child theme and have pasted all the code below as the directions specify.
add_filter( ‘sensei_load_default_supported_theme_wrappers’, ‘__return_false’ );
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”>’;
}function my_theme_wrapper_end() {
echo ‘</div><!– #content –>
</div><!– #container –>’;
get_sidebar();
}Instead of the functions my_theme_wrapper_start and my_theme_wrapper_end, what are the actual functions I should place here in this child functions.php?
June 9, 2016 at 7:40 am #645258Hi,
@jmerithew: Is this working? Could you please provide a link to the page with the sensei plugin?Best regards,
IsmaelMarch 8, 2017 at 4:09 am #757455Hi Friends,
I just installed Sensei v 1.9.12 and unfortunately it is not working correctly in my Enfold Child Theme (Enfold 4.0.2). I get a warning on my WP Dashboard that “Your Theme does not declare Sensei support”.I installed the sample data and pages for Sensei and they do not function properly in my theme. Here is the URL to one such demo page.
Trying to follow the Sensei suggested mods to the Sesei content wrappers has not yet worked for me. Those instructions are here.
Any help is greatly appreciated, I will keep trying to get things to work.
March 8, 2017 at 8:29 am #757588Hey!
The solution here
must still work and been active. Have you tried that solution?
Cheers!
BasilisApril 27, 2018 at 12:56 am #947541Hi there Is it now possible to fully use the enfold theme in sensei?
April 30, 2018 at 7:40 am #948827Hi,
The theme has no native configuration for the Sensei plugin, so you have to implement the modifications above.
Best regards,
IsmaelMay 1, 2018 at 11:25 am #949483ok thank you
May 3, 2018 at 5:26 am #950448Hi,
Thanks for the feedback. Please let us know if you should need any further help on the topic.
Best regards,
RikardMay 11, 2018 at 9:43 pm #955459Hey guys
does anyone have a working solution for integration? If so, would someone be willing to give guidance?
I’ve tried a lot and read more. Unfortunately, it usually ends up in a white page with error codes.I would be very grateful.
May 12, 2018 at 10:55 am #955658Hi DJ_Wolfgang,
Can you please check server log for error?
Here is how to find it: http://snapcreek.com/blog/wordpress-error-log-friend/
Best regards,
VictoriaMarch 15, 2019 at 5:50 am #1078996Any solutions yet? I can’t get sidebards to show on courses or lessons.
March 17, 2019 at 3:50 pm #1079602Hi ahouglum,
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
VictoriaMarch 18, 2019 at 8:14 pm #1080056Sure… The issue we are having are multiple. Using the advanced editor took a little hacking and enfold doesn’t honor sensei theme files in the enfold-child folder.
March 21, 2019 at 3:39 pm #1081434Hi,
The site is not loading properly on our end. Please check the url. If possible, please open a new ticket or thread so that we can close this one.
Best regards,
IsmaelMarch 21, 2019 at 4:57 pm #1081478Sorry wrong URL.
March 25, 2019 at 2:43 am #1082463 -
AuthorPosts
- The topic ‘Is Enfold compatible with Sensei?’ is closed to new replies.