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
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.
my website is : https://www.edqm.eu/
I need to create a new page, but I want a page without headbar menu.
Is it possible ?
If Yes, How is it possible to do it ?
the website is built with Drupal 7.
I'm not expert in dev and in Drupal.
Thank you for your help.
it should be possible and depending on your site setup, it can be even pretty simple. You have to find the menu block in /admin/structure/blocks and go to configure on the block, there you should see visibility settings and you can filter out your page.
Hope this helps.
Your header menu can be in:
Some block - just go to Structure -> Blocks from admin menu, find that block, click "Configure" link and in "Visibility settings" hide it by some criteria that is most suitable for your case (content type, page path..). If you have hard time finding which block is that use some inspection tool like Firebug or similar, to see block id. But if site is made well, when you are logged in as admin you'll have that "Configure" gear icon when hovering the block.
Menu can be part of some template file, most likely page template (/sites/all/themes/your_theme/templates/page.tpl.php). If that's the case then you can clone the template file and name the clone following the special naming convention so just the page you want to change will use that template. Then you can modify the clone and remove part that generates the menu. Check out this page for theming names suggestions:
https://www.drupal.org/docs/7/theming/template-theme-hook-suggestions
I'm just getting started with Drupal and have added my preffered modules. I have also added my front-end framework module - which is Foundation Zurb. Now I'd like to change the default blog-like structure of the site and would like to add a custom developed homepage. Been trying to put my head around this for over 3 days with no success. I followed the direction on the Drupal docs - which is a bit confusing and rigid but something I dont grasp is does the page--front.tpl.php actually end up being the home page? Also where would I put my css and other js scripts?
If this is the case then what would I need to do to add a navigation to this homepage which would then provide links to my site? Some mind opening guidance is welcome
You can set any node in any content type to be the home page. So first create your content type, then node in that type.
Then go to Confugration -> System -> Site information in admin menu and there you have Front page section. Add your page path to "Default front page" field and that's it - your page will become new home page.
You can also enable the default view "Frontpage" that has a path /frontpage. In this you can customize the sorting and filtering of what is being shown. Then visit the "Site information" page and set "/frontpage" as your default frontpage.
I have downloaded and installed OpenCart v1.5.2.1. Now I'm using the default template in there.
I want to add some extra elements like side menu bar to that template.
How can I achieve this? How can I add new elements to my current template according to my requirements?
you should check this link
or
you could buy the book titled Opencart 1.4 Template Design (but this for version 1.4 only)
For side menu bar go to Extensions > Module > Category(edit) then add module and choose which ever page you like to show and where at top, right, left and bottom and save the menu.
Logon to Admin Panel and select:-
Extensions -> Extensions ->
select 'Themes' from the extension type drop down menu
click on the Edit button of your Default Store Theme and from the General Tab select the desired Theme from the Theme Directory drop down menu and save it. Clear the Modifications from Extension -> Modifications. That's all.
Title says most of it.
I have inherited a Joomla site and the client wants part of the main template (a feature-type box) to be editable via the Joomla backend.
I guess really it is a content item that never gets displayed as its own page, but as a part of all pages.
Is that possible?
Thanks.
EDIT: By editable, I mean as a piece of content, not as editing the template HTML. I hardly expect non-tech users to get things right in a WYSIWYG text editor, much less change HTML code that could screw up the whole site.
The Custom HTML Module allows you to create, edit, and display your own free-form HTML on a Joomla site using a WYSIWYG editor.
In your administration control panel you can find the "Module Manager" under "Extensions" in the drop down navigation menu. There you can create this module, choose a position in your template to display it, and then select what sections of your site the module should be displayed on.
You want the content items module.
Content Items Module
This way a user can add content as normal using the standard content pages, but you as the developer can set the module up to show that content as a module only. You have a LOT of choices with the above module too, you can set individual, category, intro, main all that kind of thing. Dont link to the page or category and it wont be shown on the main site, just in the module :)
The joomla extension directory is full of great things.
Good luck
You can use a special component for Joomla to edit templates, any part of template, any Tag. See dewem template editor component
Joomla templates are always editable via the backend. Just got to Extensions->Template Manager->Select the template you're using to edit it->and then up in the toolbar there will options for editing the html or the css as well as many design (look) options over on the right. That is in Joomla 1.5.