Bug/Typo discovered in shortcode oceanwp_nav ??
-
Hello, ever since I updated ocean extra to versions above 1.4.23, i have had problems with my oceanwp_nav shortcode (until the version 1.4.22 i used custom header nav widget). The shortcode displays the navigation properly, but is unable to display mobile menu button after breakpoint.
I have looked in /wp-content/plugins/ocean-extra/includes/shortcodes/shortcodes.php and found:
Line 60:get_template_part( 'partials/header/mobile-icon' ); ?>but partials/header/mobile-icon doesn’t exist (i am running older version of oceanwp – 1.5.27, but i have also looked in the newest version 1.5.31 and it is not there. Correct location is: “partials/mobile/mobile-icon”).
So line 60 should be:
get_template_part( 'partials/mobile/mobile-icon' ); ?>After changing “header” -> “mobile” in the path, everything is working properly.
Can you confirm this? If so, please fix this in the later update 🙂
Thank you
The topic ‘Bug/Typo discovered in shortcode oceanwp_nav ??’ is closed to new replies.