- Web templates
- E-commerce Templates
- CMS & 博客 Templates
- Facebook Templates
- Website Builders
WordPress. How to make 小部件s appear/disappear on needed 页面s (using ‘小部件 逻辑” 插件)
April 10, 2015
这 tutorial will show you how to make the 小部件 appear on the needed 页面s in older versions of WordPress CMS (up to 3.6).
WordPress. How to make 小部件s appear/disappear on needed 页面s (using ‘小部件 逻辑” 插件)
In case you use the latest WordPress version, you can skip this tutorial 和 manage 小部件 visibility this way.
Let’s see how to make the 小部件 appear on the needed 页面 in older versions of WordPress:
-
Navigate to 插件 -> 添加新.
-
Search for ‘小部件 逻辑” 插件.
-
安装 和 activate ‘小部件 逻辑” 插件:
-
这 插件 gives every 小部件 an extra control field called ‘小部件 逻辑” that lets you control the 页面s 在哪里 the 小部件 will appear:
-
的 ‘小部件 逻辑” field lets you use WP’s Conditional Tags, or any general PHP code.
Let’s see how to display a 小部件 on specific 页面:
-
Navigate to Appearance -> 小部件s.
-
Open the desired 小部件 to see the 小部件 settings.
-
Paste the following code into ‘小部件 逻辑” 字段:
is_页面( 'about-us' )
在哪里 ‘about-us’ 是 鼻涕虫 of your specific 页面:
-
Note that the 页面 needs to be a ‘Default template’ in order to display 小部件s:
这 是 end of the tutorial. Now you know how to make the favourite 小部件 appear on the needed 页面.
Feel free to check the detailed video tutorial below:
WordPress. How to make 小部件s appear/disappear on needed 页面s (using ‘小部件 逻辑” 插件)
Submit a ticket
If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help 和 assistance within next 24 hours: Submit a ticket