• Resolved adirsi

    (@adirsi)


    After installing the free version in my flatsome theme based website,
    the menu items are missing.

    Hope someone can assist

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Juan Coronel

    (@juaancmendez)

    Hi there,
    we hope you’re doing well!

    In order to fix it, add this code in the functions.php file of your active theme:

    if ( defined( 'YITH_WCAF' ) ) {
        add_filter( 'yith_wcaf_show_dashboard_links', '__return_true' );
        add_filter( 'yith_wcaf_show_dashboard_links_withdraw', '__return_true' );
    }

    Try it out and tell us if its works well for you.

    We will be attentive to your response.

    Have a nice day!

    Thread Starter adirsi

    (@adirsi)

    Hi there,

    I have implemented it, yet the error continues…

    Hope to hear from you soon.

    Cheers!

    Plugin Support Juan Coronel

    (@juaancmendez)

    Hi there,

    We have checked on my site with Flatsome installed and everything works fine. The code works too. We have registered an affiliate with the name “yith support” to see the affilliate dashboard, We await your approval.

    Could you also try adding this code in the functions.php of your active theme?

    if ( defined( 'YITH_WCAF' ) ) {
        function yith_wcaf_dashboard_navigation_menu_custom( $dashboard_navigation_menu ) {
            return $dashboard_navigation_menu;
        }
        add_filter( 'yith_wcaf_dashboard_navigation_menu', 'yith_wcaf_dashboard_navigation_menu_custom', 10, 1 );
    }

    We will be attentive to your response.

    Have a nice day!

    Thread Starter adirsi

    (@adirsi)

    Hi there,

    Once again, tried to add the script to the functions.php of active flatsome theme,
    yet the problem is still there, empty menu.

    I tried also to add the script to the functions.yith-wcaf.php
    just to check if that will be helpful…

    Now both of the scripts are there, but the result is the same. Empty menu.
    Maybe another plugin can effect it? some adjustments in other settings?

    Hope you will keep up the great work and helpful responses.

    Cheers!

    Thread Starter adirsi

    (@adirsi)

    I have opened the inspect now and saw the css of the specific elements
    is declared like this:

    element.style {
    }
    .yith-wcaf.yith-wcaf-dashboard-summary ul.dashboard-links {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .dashboard-links {
        /* display: none; */
    }

    When I cancel the display:none I can see the links!

    It says it comes from a command in index line 174.
    Should I try to change the css perhaps?

    Hi there,

    Yes please, add a custom CSS in Appearance > Customize > Additional CSS regarding that tag (.dashboard-links) with a display: block; for example.

    It seems that maybe the theme is adding that display none for some reason.

    If the rule is not working, try by adding and !important at the of the rule, like this:

    .dashboard-links {
        display: block !important;
    }

    Please, give it a try and let us know.

    Happy new year!

    Thread Starter adirsi

    (@adirsi)

    Hi there,

    It worked!

    Yet it’s not so pretty but functionality is fine so I can live with it.

    Thank you so much for helping me,
    maybe in next versions the plugin guys should be prepare to this scenario.

    Happy new year!

    Cheers!

    Plugin Support Juan Coronel

    (@juaancmendez)

    Hi there,

    We are glad to have helped you solve it!

    Maybe some plugin has added styles to ours, and for that reason, it was hidden. In our installation, Flatsome and our plugin work correctly, and on your site, we cannot see the affiliate dashboard yet as we need the approval of an administrator of your site.

    If you have any other questions, feel free to contact us.

    Have a nice day!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘YITH affiliate free plugin and flatsome theme’ is closed to new replies.