MaxFlat Core
__SMARTLIB class vs. __MAXFLAT (2 posts)

  1. richpav
    Posted 1 year ago #

    Hello again! I just tested your theme on a fresh WP install with no plugins activated. I couldn't get the home page to render unless I made two changes:

    Line 79:

    -                     maxflat_mobile_menu(
    +                     smartlib_mobile_menu(

    ...because I was getting this error:

    Fatal error: Call to undefined function maxflat_mobile_menu() in /srv/www/wordpress-default/wp-content/themes/maxflat-core/header.php on line 79

    Then I had to fix this too in maxflat-core/smart-lib/template-tags.php:

    Line 284:
    -  $menu_item = __SMARTLIB::layout()->wp_nav_menu_select( $args );
    + $menu_item = __MAXFLAT::layout()->wp_nav_menu_select( $args );

    I'm wondering how I seem to be the only one with this problem.

  2. neverenoughnotes
    Posted 1 year ago #

    I have this same issue - just trying your resolution now - thank you!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.