PHPackages                             ridiculous-innovations/live-ui-wordpress - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ridiculous-innovations/live-ui-wordpress

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ridiculous-innovations/live-ui-wordpress
========================================

Wordpress plugin for Live UI.

15PHP

Since Sep 9Pushed 10y ago2 watchersCompare

[ Source](https://github.com/ridiculous-innovations/live-ui-wordpress)[ Packagist](https://packagist.org/packages/ridiculous-innovations/live-ui-wordpress)[ RSS](/packages/ridiculous-innovations-live-ui-wordpress/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

LiveUI WordPress plugin
=======================

[](#liveui-wordpress-plugin)

Instalation instruction
-----------------------

[](#instalation-instruction)

1. Download the module
2. Move files into a ./wp-content/plugins/liveui
3. Activate the plugin in your WordPress admin panel
4. Go to LiveUI settings in the admin panel and put in your app API key

All keys below are used without the hash symbol (so #MY\_IMAGE in the admin panel will be only MY\_IMAGE in WP)

Translations
------------

[](#translations)

To return a translated string you can use method `LUI(key, locale)`, method returns a string with the translation or the key if translation is missing Example:

```

```

To get available locales in an array ( `{ 'en_US', 'it', 'de' }` )

```
liveui::get_available_locales();
```

Images
------

[](#images)

To get an image URL, you can call `LUIImage(key, locale)`. This method returns a local link to the file. If the file is not present in the local cache, it will be downloaded from the LiveUI system and cached locally so the local server is responsible for the distribution.
Example:

```
