Answer the question
In order to leave comments, you need to log in
How to enable Option page translation (ACF) in WP multilang?
The site made options pages through Acf.
WP Multilang by description supports it. How can I connect the translation of Option page blocks?
Answer the question
In order to leave comments, you need to log in
We write in the function file something like
//На странице опций найти строку типа ["id"]=>string(36) "toplevel_page_theme-general-settings", строка может быть другой
function id_WPSE_114111() {
echo "<pre>";
var_dump(get_current_screen());
echo "</pre>";
}
add_action( 'admin_notices', 'id_WPSE_114111' );
{
"admin_pages": [
"toplevel_page_theme-general-settings"
]
}
{
"post_types": {
"portfolio": {},
"events": {}
},
"taxonomies": {
"portfolio-category": {},
"portfolio-tag": {}
},
"options": {
"theme_mods_my_theme": {
"my_theme_custom_option": {}
}
},
"admin_pages": [
"toplevel_page_theme-general-settings"
]
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question