Categories

Featured templates

WordPress. How to make 小部件s appear/disappear on needed 页面s (using ‘小部件 逻辑” 插件)

Template-help.com Team April 10, 2015
等级: 5.0/5. From 3 votes.
Please wait...

这 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:

  1. Navigate to 插件 -> 添加新.

  2. Search for 小部件 逻辑” 插件.

  3. 安装activate小部件 逻辑” 插件:

    How_to_control_the_页面s_that_the_小部件_will_appear_on_1

  4. 插件 gives every 小部件 an extra control field called 小部件 逻辑” that lets you control the 页面s 在哪里 the 小部件 will appear:

    How_to_control_the_页面s_that_the_小部件_will_appear_on_2

  5. 小部件 逻辑” field lets you use WP’s Conditional Tags, or any general PHP code.

Let’s see how to display a 小部件 on specific 页面:

  1. Navigate to Appearance -> 小部件s.

  2. Open the desired 小部件 to see the 小部件 settings.

  3. Paste the following code into 小部件 逻辑” 字段:

    is_页面( 'about-us' )

    在哪里 ‘about-us’鼻涕虫 of your specific 页面:

    How_to_control_the_页面s_that_the_小部件_will_appear_on_4

  4. Note that the 页面 needs to be a ‘Default template’ in order to display 小部件s:

    How_to_control_the_页面s_that_the_小部件_will_appear_on_3

这 是 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 ‘小部件 逻辑” 插件)

Wordpress Web 的mes
这 entry was posted in WordPress Tutorials 和 tagged 页面, 小部件, WordPress. Bookmark the permalink.

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