SmoothState.js issues in Optimum theme

Notice: get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /home/energe7/public_html/wp-includes/functions.php on line 3853

Notice: Undefined index: mod in /home/energe7/public_html/wp-content/plugins/bbpress-vip-support-plugin/includes/bbps-support-functions.php on line 18
  • Resolved
    Posted in: Optimum WP Theme  

  • Member
    June 27, 2017 at 9:12 pm #629

    Warning: Cannot modify header information - headers already sent by (output started at /home/energe7/public_html/wp-content/plugins/bbpress-vip-support-plugin/widgets/bbps-forum-hours-widget.php:2) in /home/energe7/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220

    So my question is related to SmoothState in the Optimum theme. Great theme, but SmoothState seems to break certain shortcodes associated with it. I am familiar with this javascript and how it interacts with plugins, but I feel like it would have been tested a little better since it is included within this specific theme. I have read dozens of articles related to why SmoothState has issues in WordPress, but I can’t fix this specific theme and how it loads its scripts.

    I went inside the main.js file and added my class element to the list of “onAfter” elements, but I’m still having troubles. The largest issue is background video not working on the homepage. There doesn’t seem to be an exception for the background video added to the SmoothState onAfter calls, but alas I can’t seem to get a fix.

    Any help on this would be appreciated.

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.