Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Tabs won't open when using translation #7

AxelYa opened this Issue Jul 16, 2011 · 1 comment


None yet
2 participants

AxelYa commented Jul 16, 2011

Hello Devin,

I am translating a theme which uses OF and having trouble using Options Page with the new language.

When I switch languages in wp-config and go to options page first tab is opened but others are stuck - won't slide down.

I looked into the source of output doc - there is no id created for translated phrases
class="group" id=""

AxelYa commented Jul 16, 2011

Fixed ! For heading I have added ID to the array in options.php then assigned tabs switching to that ID ( in options-interface.php)

$jquery_click_hook = preg_replace('/\W/', '', strtolower($value['id']) );
$jquery_click_hook = "of-option-" . $jquery_click_hook;

@devinsays devinsays closed this May 6, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment