AI助手支持GPT4.0
Sometimes you want to put the base URL (that of the blog, or that of the active template) in your content editor.
有时您想将基本URL(博客的URL或活动模板的URL)放入内容编辑器中。
Times when the template customising isn’t quite flexible enough.
模板自定义不够灵活的时候。
With this plugin you can use [home_url] to output the base URL of the blog (as set in your Settings).
使用此插件,您可以使用[home_url]输出博客的基本URL(在“设置”中设置)。
Or, you can use [theme_url_template] to output the URL of the active template.
或者,您可以使用[theme_url_template]输出活动模板的URL。 p>
For example in your editor might output (if http://localhost/wp-demo is what you have configured as your blog URL in Settings).
test.png“ /> code>(如果在“设置”中将http:// localhost / wp-demo配置为博客URL)。 p>
The supported short codes are as follows:
受支持的短代码如下:
* [home_url] – the configured blog URL (set in Settings).
* [home_url] –配置的博客URL(在“设置”中设置)。
E.g.
例如。
http://localhost/wp-demo
http:// localhost / wp-demo
* [theme_url_template] – the URL of the active template.
* [theme_url_template] –活动模板的URL。
http://localhost/wp-demo/wp-content/themes/mytheme
http:// localhost / wp-demo / wp-content / themes / mytheme p>
This plugin uses the GPLv3 license.
此插件使用GPLv3许可证。 p>
Use WordPress Add New Plugin feature, searching “BASIC URL ShortCodes”, or download the archive and:
使用WordPress的“添加新插件”功能,搜索“ BASIC URL短代码”,或下载存档,然后: p>
basic-url-shortcodes
/wp-content/plugins/
basic-url-shortcodes code>目录上传到 / wp-content / plugins / code>目录 li>Activate the plugin through the ‘Plugins’ menu in WordPress通过WordPress中的“插件”菜单激活插件 li>Use shortcode & enjoy使用简码并享受 li>
/ wp-content / plugins / code>目录 li>Activate the plugin through the ‘Plugins’ menu in WordPress通过WordPress中的“插件”菜单激活插件 li>Use shortcode & enjoy使用简码并享受 li>
ol>
原文出处:http://www.sanshu.cn/a/3998.html
群主管理都是支付大佬