该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Simple Relative Urls

描述

Simple Relative Urls plugin changes:

  • home and siteurl
  • script src urls
  • style link urls
  • images src urls

It uses wordpress filters.
It doesn’t interact with database.
It is fast, it doesn’t search and replace generated html.
It doesn’t change hardcoded urls (for example in post content).
It is flexible.

Plugin was originally created to enable wordpress to work with a localtunnel npm package

localtunnel exposes your localhost to the world for easy testing and sharing! No need to mess with DNS or deploy just to have others test out your changes.

Example use cases

If Your development tasks don’t involve images, don’t download them from a server. Just install the plugin and add this line of code to your wp-config.php file

define( 'SRU_IMG_SRC_RELATIVE', false );

Your local copy will then display images from their oryginal source.

评价

此插件暂无评价。

贡献者及开发者

“Simple Relative Urls” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Simple Relative Urls”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志