Hi,
i have two questions:
1. Top bar
Is it possible put in top bar custom code or widget. Namely i need to install plugin to switch between cirylic and latin letters. By default its widget, but author provided code for implementing various options for that plugin.
If not possible in Top Bar, can it be put in header or Main menu maybe? What you suggest?
2. Main menu
Is it possible to have submenu items of Main menu items in horizontal second line, just under the Main Menu?
best regards,
Bojan
Hello Bojan,
1,2)Unfortunately, the theme does not have any such an option that allows you to add custom code or widget at the main menu or top bar, sorry! You should try using such a plugin with this functionality and check the results, sorry!
Thanks for the message!
Hi,
There are translation plugins that you can use. The theme is compatible with WPML, but there are also free plugins that you can try
– http://www.wpbeginner.com/showcase/9-best-translation-plugins-for-wordpress-websites/
The qTranslate would be a good plugin that you can try first.
Thanks
Thanks.
What i ment to ask, connected to starting question is: all those multilanguage plugins have some icon/field/whatever which user can click and switch to other language.
Is there a way to insert same thing in Newspaper theme anywhere in top bar, header or main menu line, just to be obvious for visitor?
Namely, as author wrote, i would need:
To use this function just call it from place where you need code to be inserted, like:
<?php stl_show_selector('oneline', '/', 'ћирилица', 'латиница') ?>
Is it possible insert this line or similar to above mentioned elements of the page (header etc)?
Hi,
Surely the translation plugins have options to add a button, switch or functionality that would allow the user to change language. Usually these options will appear in the menu settings, so you can add them in a menu
– https://www.screencast.com/t/VUVa8mej10
Thanks
Hi,
The theme has these translation options, only for theme elements
– https://forum.tagdiv.com/loading-translations/
Anything different will have to be achieved through a plugin. In order to translate the website and offer the possibility to change the language, you will need to use a plugin.
Thanks
I m talking about just switching element for languages (or anything).
Ok, for Top Bar i managed to implement <?php stl_show_selector('oneline', '/', 'ћирилица', 'латиница') ?> by editing header header-style-1.php (since i m using that one).
But trick is, that i ‘ve seen only when i implemented it, that it wont be visible on mobile, as Top Bar isn’t visible for mobiles.
So, i m trying now to edit header-menu.php and put that line, but i m not sure where it would be good to place it in code (as i m not programmer).
My question is – where to put that line in code of header-menu.php so result would be that switch between menu items and search on the right at desktop, and between logo and search on mobile. Therefore in both cases, just left from search. If not possible, then in all cases far right, after search.
Thanks.
-
This reply was modified 8 years by
brue.
Hi,
Try adding it in the header template you are using, the files are found here
– https://www.screencast.com/t/iBhFHQs2AHzj
Placing it as a menu item will require you to enter it in these files however
– https://www.screencast.com/t/49Z1aMDLcCgi
Edit the files and experiment with the code, while checking the results. Maybe you can get the result you want. If you cannot get it where you want it to appear, maybe try to place it in a different location.
Thanks
I ve managed to do it for desktop version.
I would like to ask, for mobile, when we press that mobile menu (default horizontal lines icon), menu pops up from left, with social icons on top and main menu under.
In which file i can access that top line, where social icons are.
The thing is that i just need to place code for plugin in question right in that part (as i did for desktop in top-widget file)
Hello brue76,
All the settings about the mobile menu can be found in theme’s core files where this feature has been created. As a hint, you can start to check from here -> https://www.screencast.com/t/GXjaFp5a Notice that is not a simple task and if you are not aware of the steps which are needed to take in this case, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!
Thanks for the message!
@brue76 I have the same problem. Have you managed to solve it?
Hi, since i m complete newbee for it, i managed only to put code inside top bar widget.
Now, few months later, i have similar problem, since i m trying to use Wine template, which is w/o top menu, and i want to put the same code (switch) to header menu, next to social icons.
If i get answer in that newer topic, i guess the same thing would be for mobile.