VaLeXaR
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] Stripping HTML tag1. Add language switcher to theme page settings if it not exist.
Use get_current_screen on this page for getting object WP_Screen and get from this id property.add_action('admin_head', function(){ $screen = get_current_screen(); var_dump($screen->id); });Add the received value to “admin_pages” section in your config file.
"admin_pages": [ "admin_screen_id" ]2. If your option “wowmall_options” is array and needed option is on the first level in the array add config for your option to “options” section in the config file.
“options”: { “wowmall_options”: { “header_text”: {}, “header_cart_text”: {}, } }After these actions, the language selector should appear on the theme settings page. You will need to enter the value of this field for each language.
Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] Sitemap + Yoast SEOThe template for taxonomy title is working https://goo.gl/Z9qZQ9
Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] Menu Custom FieldsHi @ahnabil
You theme using Custom Menu Walker for adding custom fields to menu item. And WP Multilang intercepts the class responsible for creating additional fields from your theme.
Therefore, with active WP Multilang, these fields are not available. You need to display the fields through the hook ‘wp_nav_menu_item_custom_fields’ in action ‘admin_init’.Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] Sitemap + Yoast SEOWP Multilang make multilingual sitemap by google recommendation. https://support.google.com/webmasters/answer/2620865?hl=en
Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] ACF Options page config@jordanwebdev
ID for admin screen always is a string.
Why You added “nav-menus” to config? There is already a language switcher.
What version of ACF? What fields do you use? Where exactly are you using these fields? In the menu item or the entire menu?Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] Stripping HTML tag@obadaqawwas
Strings that you need saved in the database with html tags or not? For saving strings, You need to use language switcher in admin.
Add your setting page ID to the “admin_screen” section in the config. And save text for each language.Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] Stripping HTML tag@obadaqawwas
Strings that you need saved in the database with html tags or not? For saving strings, You need to use language switcher in admin.
Add your setting page to the “admin_screen” section in the config. And save text for each language.Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] ACF Options page config@jordanwebdev
You need to find out the screen ID in the current admin screen. It available in WP_Screen object.Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] Setting is upWhat code are You looking for? And where?
This is problem with your theme. As I see when You change language, the site header do not reload. All requests by AJAX.
Sorry, but You need to ask in your theme developer.
It will be in paid version.
WP Multilang do not support multilingual slugs. About this described in the description to the plugin.
You are welcome.
- This reply was modified 8 years, 4 months ago by VaLeXaR.
Forum: Plugins
In reply to: [WP Multilang - Translation and Multilingual Plugin] Stripping HTML tagI do not using Redux framework.
Find the value in options table in a database. Then look at the name of the option in the ‘option_name’ column. It will be the option name for using in config file.