Our Feature Items: SM Market // SM AutoStore // SP Revo
Shopping cart (0)

How to Fix Bug When Update SW Themes to WordPress 4.7

Rate this item
(1 Vote)
Written by  Sumo
Friday, 09 December 2016 10:46
How to Fix Bug When Update SW Themes to WordPress 4.7 - 5.0 out of 5 based on 1 vote
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.

wordpress 4.7

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

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 Flytheme_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. In this example, the prefix is Flytheme.

The result:

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!
Google+
Joomla TemplatesFree Joomla TemplatesVirtuemart TemplatesK2 TemplatesJoomShopping TemplatesHikaShop TemplatesSobiPro TemplatesOpenCart Themes
Quà Tết Cao Cấp Hộp quà tết Giỏ quà tết Túi quà tết