In meantime, maybe I have on.. I do not want to use some big scripts or something so I did this simple one.. I will write here if somebody else need it..
1.) I create sidebar in my theme, and add it to header
<div class="drop-dl">
<a class="lang-chose" href="#"><img src=""> Chose language</a>
<?php get_sidebar(); ?>
</div>
2.) Then I go to admin page and on widget section I add Language Switcher to Sidebar to get Unsorted Lists from languages
3.) and I add small script and css code to get this work, here is CodePen demo link
Any suggestion is welcome 🙂 Because this solution work with “Polylang widget”, the good part is that you have addition options and functionality to chose from widget “Language Switcher”
Related Posts:
- How to import multiple language mutations to polylang?
- polylang + category/tag custom language link
- Function get_locale always returns en_US in plugin?
- Hide wordpress plugins from list
- WordPress plugin from own server
- How to avoid plugin name conflicts from the upgrade notifier?
- Remove WordPress Toolbar buttons
- Adding unit ammount after WooCommerce price. Example $ 24 /m2 and $24 / m
- Can a plugin cause permanent damage?
- Adding an admin page – OOP approach not working
- How can I pass a variable to wp_ajax action?
- Moving image attachment from post to another?
- Under which circumstances is the .maintenance file not deleted?
- Autoload via composer in plugin interference
- Can WordPress plugins “Talk to each other”?
- WordPress plugin form not saving data
- wp_mail attachment not working
- Plugin exceeds memory limit
- How do I make images clickable so as to enlarge them using lightbox?
- FacetWP group listings by custom field [closed]
- Plugin Paths Issue
- How do you export/download the file of an already-installed plugin?
- Woocommerce plugin for minimum order and add-to-card-step
- UnInstallation of a Plugin from a developers perspective – The correct and clean method
- Change wordpress current_time function to different timezone
- Load custom PHP on a custom URL via a plugin
- WordPress Settings Lost After Site Migration
- How to put JQuery/Ajax inside shortcode?
- Restrict media upload size by format
- Creating custom HTML pages
- How do I get fresh post data in post_publish hook?
- Two problems on my WordPress installation [closed]
- WordPress Widget Not Saving Data
- Frontent user submit and view content [closed]
- Center and hide overflow of WP toolbar custom links
- options creation for plugins
- Users are being redirected to main site when trying to register on subsite of my Multisite network
- Slider/text combination plugin
- How to disable a widget when dependent plugin is inactive?
- How can i force wp-admin to use 2-column dashboard layout? [closed]
- First plugin, problem with get_pages
- eLearning Module
- Are there action hooks for comments?
- Readable titles in mobile
- adding Adsense’s In-Article Ads between images of blog post
- Export postmeta (custom fields)
- Customizing a blog page layout
- Sub Plugin deactivation when Parent Plugin deactivate
- what is the point of telling add_filter how many parameters you want passed to the function?
- Load CSS files in header of Bones theme?
- Trying to get property of non-object wordpress error message
- Advertising: Every page refresh counts as 3 ad impressions
- Google Maps with categories
- Trying to extend a plugin’s functionality
- WordPress Cache delete on plugin uninstall
- How to create repeater field manually, without plugin (ACF Pro)?
- Should I use the action in the plugin’s main file?
- Woocommerce checkout page broken when set as a checkout in woocommerce settings [closed]
- Jquery POST Ajax Return null data in wordpress
- How to get specific column data conditionally in database in WordPress?
- WpForms email notification displays the shortcode as variable instead of value
- How to create a folder in wordpress that will contain pages?
- Ajax Call not Working in Plugin
- Ayuda con este error: Failed to load plugin url: https://degranero.es/wp-content/plugins/easy-columns/tinymce/langs/es.js
- Store GravityForm data in phpmyadmin (mysql)
- How to remove WordPress Default Comment? not Facebook
- Try to debug a plug-in written by someone else
- Call function with button and return response
- updraft plus migrator problem [duplicate]
- plugin operation launch every time i click on page
- Can I retain custom taxonomy data when uninstalling a third-party plugin that created it?
- Plug-In’s Selection Not Accessible
- After WP installation no GD lib recognition despite module is installed
- how to add custom css at top above all css file for specific url
- Related post based on 2 categories
- Facebook Quote Plugin for Blockquote?
- Include post_date in search
- Coming soon pages with rest of site in maintenance mode
- insert multiple entries in database using a loop issue
- How to markup wordpress site using Schema.org?
- Merge custom plugins in one folder
- Execute certain function on GET request
- White screen and can’t activate themes and plugins
- date function not correctly returning date
- Password Protected Directory Link Shows Maintenance Mode Page
- How do I increase the 255 character limit on the ‘description’ field for link library links?
- Dynamic price product
- Convert usernames listed by the Groups plugin shortcode to displayed names?
- Display Facebook photo albums and photo comments?
- custom registration form [duplicate]
- I want to remove the register/login WordPress top bar from my website
- (Plugin) Icon needed beside the post title [closed]
- To generate Flickr Gallery in my wordpress site which plugin to use [closed]
- Embed php code in custom field of a plugin [closed]
- How to make a rest style plugin?
- Sorting/Ordering Poll Plugin?
- Get URL for featured image for posts? [closed]
- Meta box not displaying on the plugin page
- Warning: Undefined variable $admin
- plugin translation *.mo file not getting loaded for custom post