Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #657655

    Hi
    i have to integrate WP Club Manager Plugin into Enfold. I run into Problems with some page Templates not showing properly.
    I have to integrate some code into child theme functions.php
    I don’t now how to adapt this code for Enfold.
    How do i rewrite ‘my_theme_wrapper_start’ for Enfold and how for the rest of the code
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    remove_action( ‘wpclubmanager_before_main_content’, ‘wpclubmanager_output_content_wrapper’, 10);
    remove_action( ‘wpclubmanager_after_main_content’, ‘wpclubmanager_output_content_wrapper_end’, 10);

    add_action(‘wpclubmanager_before_main_content’, ‘my_theme_wrapper_start’, 10);
    add_action(‘wpclubmanager_after_main_content’, ‘my_theme_wrapper_end’, 10);

    function my_theme_wrapper_start() {
    echo ‘<section id=”main”>’;
    }

    function my_theme_wrapper_end() {
    echo ‘</section>’;
    }
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

    THX a lot for helping me!!!

    #657941

    Hey Stephane,

    I’m not familiar with that plugin unfortunately but post admin login details in private and try to explain in as much details as possible what you are trying to do and we’ll have a look at it.

    Regards,
    Rikard

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.