Descripció
Sometimes you need to display your website’s base URL, active theme URL or uploads folder URL directly inside your content editor.
Basic URL Shortcodes allows you to easily insert important WordPress URLs using simple shortcodes inside posts, pages and widgets.
Available Shortcodes
[home_url]
Outputs the website’s home URL (as set in WordPress Settings).
Example:
http://localhost/wp-demo
[theme_url_template]
Outputs the URL of the currently active theme (child theme supported).
Example:
http://localhost/wp-demo/wp-content/themes/mytheme
[UPLOAD_URL]
Outputs the base URL of the WordPress uploads directory.
Example:
http://localhost/wp-demo/wp-content/uploads
These shortcodes are useful when building custom layouts, inserting dynamic links or when theme customization options are limited.
Lightweight, simple and fully compatible with modern WordPress editors.
License
This plugin uses the GPLv3 license.
Instal·lació
Use WordPress Add New Plugin feature, searching “BASIC URL ShortCodes”, or download the archive and:
- Unzip the archive on your computer
- Upload
basic-url-shortcodesdirectory to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Use shortcode & enjoy
PMF
There are no FAQs at this time. Feel free to suggest some!
Ressenyes
Col·laboradors i desenvolupadors
«Basic URL ShortCodes» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.
Col·laboradorsTraduïu «Basic URL ShortCodes» a la vostra llengua.
Interessats en el desenvolupament?
Navegueu pel codi, baixeu-vos el repositori SVN, o subscriviu-vos al registre de desenvolupament per fisl de subscripció RSS.

