每个页面上的相同小部件 Wordpress [英] Same widgets on each page Wordpress

查看:33
本文介绍了每个页面上的相同小部件 Wordpress的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何避免在每个页面上使用相同的小部件.我在小部件区域的侧边栏上添加小部件,但它出现在所有具有侧边栏的页面上.我想要不同页面侧边栏上的不同小部件.我该怎么做.我是新手

How can i avoid same widgets on each page.I add widget on sidebar in widget area but it appears on all the pages having sidebar.I want different widgets on different pages sidebars.How can i do this.I am new to wordpress.

推荐答案

这可以通过 Jetpack 插件.激活后,您可以选择widgets在哪些页面上显示:

This can be done with the Jetpack plugin. Once activated you can choose what widgets display on what pages:

小部件可见性模块使您可以使用可见性"面板将小部件配置为仅在某些页面上显示(或在某些页面上隐藏).

The Widget Visibility module enables you to configure widgets to appear only on certain pages (or be hidden on certain pages) by using the Visibility panel.

可见性由五个方面控制:页面类型、类别、标签、日期和作者.例如,如果您希望档案小部件仅出现在类别档案和错误页面上,请从第一个下拉列表中选择显示",然后添加两个规则:页面是 404 错误页面"和类别是所有类别页面".

Visibility is controlled by five aspects: page type, category, tag, date, and author. For example, if you wanted the Archives widget to only appear on category archives and error pages, choose "Show" from the first dropdown and then add two rules: "Page is 404 Error Page" and "Category is All Category Pages."

这篇关于每个页面上的相同小部件 Wordpress的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆