Questo plugin non è stato testato con le ultime 3 versioni principali (major releases) di WordPress. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

URL ShortCodes

Descrizione

Sometimes you want to put the base URL (that of the blog, or that of the active template) in your content editor. Times when the template customising isn’t quite flexible enough.
With this plugin you can use [url_base] to output the base URL of the blog (as set in your Settings). Or, you can use [url_template] to output the URL of the active template.

For example <img src="[url_base]/test.png /> in your editor might output <img src="http://localhost/wordpress/test.png" /> (if http://localhost/wordpress is what you have configured as your blog URL in Settings).

The supported short codes are as follows:
* [url_base] – the configured blog URL (set in Settings). E.g. http://localhost/wordpress
* [url_template] – the URL of the active template. E.g. http://localhost/wordpress/wp-content/themes/mytheme1

License

This plugin uses the GPLv3 license.

Screenshot

  • Sample short code use.
  • Rendered output.

Installazione

There are 2 ways of installation. If your setup supports it, you can search for the plugin, by name, within your WordPress control panel and install it from there.
Alternatively, you download the .zip file, unzip it, and copy the resultant url_short_codes folder to the wp-content/plugins/ folder of your WordPress instaltion folder.

FAQ

There are no FAQs at this time. Feel free to suggest some!

Recensioni

Non ci sono recensioni per questo plugin.

Contributi e sviluppo

“URL ShortCodes” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

Traduci “URL ShortCodes” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche)

  • Version 1.2 – Confirmed suitability with WP 4.0.
  • Version 1.1 – Added graphics, and confirmed suitability with WP 3.6x.
  • Version 1.0 – Initial release.