How can I add top links with a language switcher beside it, currently using RWD theme style which has the top links in a drop down box?
Related
I have one site in WordPress + DIVI + WooCommerce + WPML and other plugins.
I am facing one issue on site while WPML Translation.
Website is in 3 languages:
Dutch (Main)
Franch
English
I need to keep different string for different language for the button text in one module of the DIVI.
I selected English language from adminbar
When I go to Theme Builder -> Global Header and I change the button text to "XYZ", it is reflecting only on English page, that is fine.
Now when I change the language to Dutch
and When I go to Theme Builder -> Global Header and I change the button text to "ABC", then it is reflecting on Dutch and French pages (English page is fine with "XYZ"), this must reflect on Dutch page only If I change the button by selecting the Dutch language
Now when I change the language to French
and When I go to Theme Builder -> Global Header and I change the button text to "DEF", then it is reflecting on Dutch and French pages (English page is fine with "XYZ"), this must reflect on French page only If I change the button by selecting the French language
I checked for String Translation, and updated translation for Dutch and French but it is not reflecting on front side.
When you're switching languages and modifying it manually like this, you are messing up the WPML logic that's handling translations. Page builders are tricky to translate. That's why you need to follow the recommended process.
From documentation:
To translate the Divi site header or footer you created using the Divi
Theme Builder, follow these steps:
Go to WPML > Translation Management. Choose Header Layout, Footer Layout, or Body Layout from the Type dropdown, then click the Filter
button.
Choose which headers or footers you want to translate, the languages you want to translate them into, and click Translate
selected content.
Go to WPML > Translations to take and translate the global header using the Advanced Translation Editor.
Try this with a fresh site with a new global Divi header/footer from scratch.
I have a wordpress site and iam using rtl enabled theme
So when i choose the main language of wordpress as "arabic"
The theme changes automatic to rtl
Is there any way to force it not to change direction even with Arabic language selected in wordpress dashboard??
RTL is done through CSS. When you use a theme it has styles such as float:right on certain elements so that that element goes to the right site. Or other CSS styles such as text-align: right. It depends on what element of the theme such as navigation, text, widgets, icons. They all will have and need different styles.
Therefore your question is impossible to answer.
Especially if you did not provide any code examples, screenshots or links.
I've been trying to implement multilanguage support for my new website and I want to be able to have a language switcher next to my menu, like every other normal website. I have the following plugins:
Ocean Extra, Elementor, Polylang and WPForms Lite.
I don't know If I screwed it up somehow or what happened, but when I go to
Appearance -> Menu -> Screen Options
nothing happens. It's just a blank white space that expands by 10 pixels when I click on it and I cannot change anything. Here's an image of what happens when I click on Screen Options:
When I click on "Help" that is next to "Screen Options", it expands normally. So my question is how can I add this to my OceanWP theme? I have already translated all of my stuff, so I just need to place the language switcher, and it being on the footer is a sore pain for my eyes.
Does everyone else have this option for free? Or what is going on? Should I try reinstalling my whole site?
You need to enable the language switcher
https://docs.themeisle.com/article/589-how-to-add-polylang-language-switcher-to-themes
You can add the language switcher by updating your theme files, just add the following to the header or menu where you want the language switcher to appear:
<ul><?php pll_the_languages();?></ul>
You can also add the language switcher by widget.
To customize the language switcher, you can read this documentation.
Reinstalled WordPress and then tried again, it worked. Although it didn't appear in the "Screen Options" menu, It appeared above "Pages" in the Appearance -> Menu
I am implementing a new website with customized theme. I have added menus(structure-> Add menu) but its displaying only in the default theme.Its not appearing in my theme.How I can show the menu in customized theme
theme: I changed one html file to theme
drupal version 7.22
all menus are blocks and are displayed in regions of page
go to /admin/structure/block and put your menu block in proper region since different themes have different regions
Use ready module it will help to customize menu easily and also allow for multiple level menu
Nice menu
I create a submenu for the pages of my website. Each page will have a different submenu in the header. For example:
Inicio: menu 1
Sala de Investigación: menu2
Estudios Bíblicos: menu3
how can I do this using the if statement
Im creating my website using wordpress. My old web page is:justiciadedios.com
Very easy.
Use Wordpress 3.0
Use the "Custom Menu" plugin to create different custom menus, one menu for each page.
Go to Appearance > Widgets and place several Custom Menu widgets wherever you want the menu, one widget for each Custom menu.
Download and install the Widget Logic Plugin: http://wordpress.org/extend/plugins/widget-logic/
Read the Widget logic instructions and use the PHP shortcodes to select which page each wiget will appear on. Have fun!