Title: Custom button
Last modified: December 12, 2016

---

# Custom button

 *  [bigao](https://wordpress.org/support/users/bigao/)
 * (@bigao)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/custom-button-7/)
 * Good morning!
 * Is there a way to use a custom button to select languages on my website?
    Or 
   just that default flag/language-name at the menu?
 * Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/custom-button-7/#post-8542874)
 * Hi,
 * You can use the navigation menu, the widget or you can write your own language
   switcher using the function [pll_the_languages()](https://polylang.pro/doc/function-reference/)
    -  This reply was modified 9 years, 5 months ago by [Chouby](https://wordpress.org/support/users/chouby/).
 *  Thread Starter [bigao](https://wordpress.org/support/users/bigao/)
 * (@bigao)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/custom-button-7/#post-8543343)
 * Thanks Chouby! I didn’t know that!
 * Just clarify one more thing to me.
    If I use the pll_the_languages()… can I create
   a shortcode? I want to use it with an custom image… So, with a custom HTML snippet
   inserted with the header, can I call this shortcode within the image?
 * (I don’t know if I made myself clear…. In my head it made perfect sense, hahahahha)
 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/custom-button-7/#post-8545165)
 * pll_the_languages() is a php function which allows you to output the language
   switcher anywhere (instead of a menu or widget). It also gives you all information
   to make your own language switcher in php if you use the ‘raw’ option.
 *  Thread Starter [bigao](https://wordpress.org/support/users/bigao/)
 * (@bigao)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/custom-button-7/#post-8547201)
 * Thanks again!
    I’ll give it a try! 😀

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Custom button’ is closed to new replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

## Tags

 * [Custom button](https://wordpress.org/support/topic-tag/custom-button/)

 * 4 replies
 * 2 participants
 * Last reply from: [bigao](https://wordpress.org/support/users/bigao/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/custom-button-7/#post-8547201)
 * Status: not resolved