Αυτό το πρόσθετο δεν έχει δοκιμασθεί με τις 3 τελευταίες κύριες εκδόσεις του WordPress. Μπορεί να μην αναπτύσσεται ή να υποστηρίζεται άλλο και να έχει προβλήματα συμβατότητας με τις πιο πρόσφατες εκδόσεις του WordPress.

i=== URLs Editor

Περιγραφή

Before:
http://example.com/wp-content/themes/twentyten/style.css

After:
/wp-content/themes/twentyten/style.css

OR:

Before:
http://example.com/wp-content/themes/twentyten/style.css

After (adding “https”):
https://example.com/wp-content/themes/twentyten/style.css

If you are looking for a plugin that automatically converts absolute URLs to relative URLs, or for a plugin that changes URLS for src & href URL attributes check out my other plugin.

I wrote this plugin because I needed a basepath for uploaded images for my WordPress Multisite. In other words, I needed a URL to the server root without the domain. You may find this useful for the same reason, or perhaps another.

Before you copy this code and add it into your own, keep in mind that there may be future updates. Keeping the code within an activated plugin will make sure you’re notified.

Εγκατάσταση

  1. Download the plugin (zip file).

  2. Upload and activate the plugin through the “Plugins” menu in the WordPress admin.

Συχνές Ερωτήσεις

Why isn’t this automatic?
How does this work?

Just use urls_editor($html).

Will this plugin work for WordPress version x.x.x?

This plugin has only been tested with versions of WordPress as early as 3.2. For anything older, you’ll have to see for yourself.

Κριτικές

Δεν υπάρχουν αξιολογήσεις για αυτό το πρόσθετο.

Συνεισφέροντες & Προγραμματιστές

“i=== URLs Editor” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.

Συντελεστές

Σύνοψη αλλαγών

0.9

  • Initial release