For developers

What developers can build on: hooks, shortcodes, blocks, REST routes and WP-CLI commands, taken from each plugin’s own readme and from what this site has registered.

DoctorX Languages

  • Shortcodes: [doctorx_languages_switcher]

For theme developers

  • [doctorx_languages_switcher] or [doctorx_languages_switcher style="links"] — the language picker.
  • doctorx_languages_switcher() — the same in a template.
  • doctorx_languages_t( 'Text' ) — translate a piece of theme text into the language of the page.
  • doctorx_languages_current() and doctorx_languages_url( $url, $lang ) — the page's language and an address in another language.
  • Mark any part of a page with translate="no" or the class notranslate to keep it as written.
DoctorX demo. A made-up business: please use made-up details. Try it as Customer, Owner or Developer.Demo · Try itGet DoctorX LanguagesGet it