[PREVIEW] Sj Personal - MultiPurpose Portfolio Personal Joomla Template
My Cart (0 item)
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeBlogNews & UpdatesHow to Fix Bug When Update SW Themes to WordPress 4.7
December.09.2016

How to Fix Bug When Update SW Themes to WordPress 4.7

WordPress 4.7 is out with lots of impressive improvements. Updating your websites to WordPress 4.7 can bring many advantages. However, you may get a blank menu when update SW themes to this WordPress version.

Don't worry! We will help you to solve it. Just follow the steps below.

How to Fix Bug When Update SW Themes to WordPress 4.7

Steps to Update SW Themes to WordPress 4.7


1. Open: your_theme\lib

2. Find files: responsive_dropdown.php and responsive_dropdown_sidebar.php

Find this code (you can find with the keyword: MenuRes_Filter( $args ) )

function PREFIX_MenuRes_Filter( $args ){
$args['container'] = false;
$flytheme_theme_locates = array();
$flytheme_menu = ya_options()->getCpanelValue( 'menu_location' );
if( !is_array( $flytheme_menu ) ){
$flytheme_theme_locates[] = $flytheme_menu;
}else{
$flytheme_theme_locates = $flytheme_menu;
}
...
Add this code :

if( !isset( $args['PREFIX_resmenu'] ) ){
return $args;
}

Note: PREFIX in each theme is different. please replace 'PREFIX' by your prefix.

In this example, the prefix is Flytheme. The code will look like:

update wordpress 4.7


We're updating our WordPress themes to WordPress 4.7. They will be available in next few days. If you find any problem of updating, please let's us know by directly leaving your comment here. Hope it helps!

Thanks for reading!

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now

Join Affiliate Program

Join SmartAddons Affiliate Program

Earn money with SmartAddons!
Get paid immediately.
Up-to 30% of every sale

Join Affiliate Program