Page 1 of 1

New changes for WP 3.6. or higher

Posted: 01 Aug 2013, 23:53
by drake
The new version of theme addressed the issue for Save/Reset button but still remain a glitch... After saving always return to the first option panel from options page. This is because the new method used for selecting need an index for correctly select the tabs.

In suffusion/admin/js/admin.js file I made 2 changes:
I added a new function:

Code: Select all

$j.fn.tabIndex = function () {
    return $j(this).parent().find(this).index() - 2; 
};
Then I changed the line of $tabs.tabs with:

Code: Select all

$tabs.tabs('option', 'active', $j('#' + selected_category).tabIndex());
Until Sayontan will better address the issue in a new version of theme, can download the file from: http://www.drafie-design.nl/changing-su ... press-3-6/
An archive of file can be also found in this post: viewtopic.php?f=4&t=24878&p=67599#p67599 - follow the instructions for installing it.
Some other informations about the patch can read in this topic: viewtopic.php?f=2&t=25285

The update of theme and my patch addressed only the issue from Suffusion. But you have many plugins, most of them un-tested for 3.6., and almost any of them can interfere in a bad way with the admin pages of wordpress. So, if Suffusion Options still not works after updating, start to check your plugins.