Support » Theme: MaxFlat Core » __SMARTLIB class vs. __MAXFLAT

  • 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.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘__SMARTLIB class vs. __MAXFLAT’ is closed to new replies.