Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

SDK WP DYNAMIC URL

Beskrivning

SDK WP DYNAMIC URL can help you to customzise the url without the hurdle of adding the static url. It automatically fetches the site_url() and create the URL based on parameters or without parameters.

It adds a settings page to ”Dashboard”->”Settings”->”SDK WP DYNAMIC URL” where you can customize the settings but currently under development. It will be in future versions.

Usage

  1. Download and extract sdk-wp-dynamic-url.zip to wp-content/plugins/
  2. Activate the plugin through the ’Plugins’ menu in WordPress.
  3. Paste the shortcode in your posts or pages.

If you want only the site_url() in your posts, then use:-

[sdk-site-url]

You can leave the ’path’ parameter as blank if you want only site_url().

For terminating URL’s You can use it like.

[sdk-site-url path="PATH_OF_IMAGE"]

Example Usage:-

[sdk-site-url path="/assets/images/sdk.jpg"]

The above shortcode will output.

http://your_domain_name.com/assets/images/sdk.jpg

For php files you can use this like.

<?php do_shortcode('[SHORTCODE_HERE]'); ?>

Installation

  1. Download and extract sdk-wp-dynamic-url.zip to wp-content/plugins/
  2. Activate the plugin through the ’Plugins’ menu in WordPress.

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”SDK WP DYNAMIC URL” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”SDK WP DYNAMIC URL” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.