Title: Dynamic Siteurl For Widget
Author: shouryawp
Published: <strong>2018 年 4 月 24 日</strong>
Last modified: 2018 年 4 月 24 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/dynamic-siteurl-for-widget.svg)

# Dynamic Siteurl For Widget

 作者：[shouryawp](https://profiles.wordpress.org/shouryawp/)

[下载](https://downloads.wordpress.org/plugin/dynamic-siteurl-for-widget.zip)

 * [详情](https://cn.wordpress.org/plugins/dynamic-siteurl-for-widget/#description)
 * [评价](https://cn.wordpress.org/plugins/dynamic-siteurl-for-widget/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/dynamic-siteurl-for-widget/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/dynamic-siteurl-for-widget/#developers)

 [支持](https://wordpress.org/support/plugin/dynamic-siteurl-for-widget/)

## 描述

This is for the dynamic site url on widget area of wordpress. We need to change 
the links of the widget texts while we are moving the live server. Now we can don’t
need to think about it again. It’s true. So now we don’t need to think about the
changing the links of the widget section and don’t need to run any queries as well.

## 安装

Step 1. Activate the plugin

Step 2. Go to the Dwv Setting Panel.

Step 3. Step the variable name you want to use instead of static site url’s. Like:{{
site_url}}

Step 4. Add code with the variable in widget.

Example : [Go To Home Page](https://cn.wordpress.org/plugins/dynamic-siteurl-for-widget/example.com?output_format=md)—
we are using this code before

Now you should use [Go To Home Page](https://cn.wordpress.org/plugins/dynamic-siteurl-for-widget/{{site_url}}?output_format=md)

## 常见问题

  Installation Instructions

Step 1. Activate the plugin

Step 2. Go to the Dwv Setting Panel.

Step 3. Step the variable name you want to use instead of static site url’s. Like:{{
site_url}}

Step 4. Add code with the variable in widget.

Example : [Go To Home Page](https://cn.wordpress.org/plugins/dynamic-siteurl-for-widget/example.com?output_format=md)—
we are using this code before

Now you should use [Go To Home Page](https://cn.wordpress.org/plugins/dynamic-siteurl-for-widget/{{site_url}}?output_format=md)

  Can we use any name in the site url variable?

Yes you can use. we highly recommended that use {{variable_name}} this format. You
can use any name you want.

  Is it case sensative?

Yes it is.

  Can we use any variable for particular text?

Currently not. But we are thinking about doing that in next version. Contact us 
at magentoshourya@gmail.com

## 评价

此插件暂无评价。

## 贡献者及开发者

「Dynamic Siteurl For Widget」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ shouryawp ](https://profiles.wordpress.org/shouryawp/)

[帮助将「Dynamic Siteurl For Widget」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/dynamic-siteurl-for-widget)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/dynamic-siteurl-for-widget/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/dynamic-siteurl-for-widget/)，或
通过[RSS](https://plugins.trac.wordpress.org/log/dynamic-siteurl-for-widget/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/dynamic-siteurl-for-widget/)。

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**8 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **4.7.38**
 *  PHP 版本 ** 5.2.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/dynamic-siteurl-for-widget/)
 * 标签
 * [Dynamic](https://cn.wordpress.org/plugins/tags/dynamic/)[widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/dynamic-siteurl-for-widget/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/dynamic-siteurl-for-widget/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/dynamic-siteurl-for-widget/reviews/)

## 贡献者

 *   [ shouryawp ](https://profiles.wordpress.org/shouryawp/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/dynamic-siteurl-for-widget/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://codeartssolution.com/)