WordPress.org

Forums

Polylang
[resolved] Custom PHP Code (1 post)

  1. Nicolas P.
    Member
    Posted 2 years ago #

    Hi.

    Do you provide a php code for this plugin, so i can add the language switcher in any theme file or a shortcode?
    I don't want to use widget or memu language switcher.

    Thanks

    https://wordpress.org/plugins/polylang/

    [Sorry]

    Don't bother. I found the solution in your documentation.

      <?php pll_the_languages();?>

    This is what i want.

    This plugin is awesome......

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Polylang
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.