我想使用文本在我的侧边栏小部件上显示某些帖子 - 我发现这个[display-posts category =“travel”posts_per_page =“3”]
但它只是按原样显示它。 对此有何帮助? 我是wordpress的新手,所以我想自己解决这个问题,但也许你可以伸出援手,我很乐意欣赏它。 谢谢。
I want to display certain posts on my sidebar widget using text-- I found this [display-posts category="travel" posts_per_page="3"]
but it's just displaying it as is. Any help regarding this? I'm new to wordpress so I'm trying to figure it out on my own, but maybe you could lend a helping a hand I would gladly appreciate it. Thanks.
最满意答案
首先,您需要在侧边栏小部件中启用短代码。
为此,请在WordPress中安装此插件。
http://wordpress.org/plugins/shortcodes-in-sidebar-widgets/
[display-posts category =“travel”posts_per_page =“3”]必须是Display Posts插件的短代码。
你有安装插件吗?
如果不是,您可以使用此插件显示某个类别的帖子。
http://wordpress.org/plugins/list-category-posts/
安装插件后,您需要在侧栏上的文本小部件中添加插件短代码。
First of all, you need to enable shortcodes in sidebar widgets.
For this, install this plugin in WordPress.
http://wordpress.org/plugins/shortcodes-in-sidebar-widgets/
[display-posts category="travel" posts_per_page="3"] must be a shortcode for the Display Posts plugin.
Do u have the plugin installed?
If no, you can use this plugin to display posts from a certain category.
http://wordpress.org/plugins/list-category-posts/
After installing the plugin, you will need to add the plugin shortcode in the text widget on your sidebar.
WordPress在小部件/侧边栏中显示帖子(WordPress display posts in widget/sidebar)我想使用文本在我的侧边栏小部件上显示某些帖子 - 我发现这个[display-posts category =“travel”posts_per_page =“3”]
但它只是按原样显示它。 对此有何帮助? 我是wordpress的新手,所以我想自己解决这个问题,但也许你可以伸出援手,我很乐意欣赏它。 谢谢。
I want to display certain posts on my sidebar widget using text-- I found this [display-posts category="travel" posts_per_page="3"]
but it's just displaying it as is. Any help regarding this? I'm new to wordpress so I'm trying to figure it out on my own, but maybe you could lend a helping a hand I would gladly appreciate it. Thanks.
最满意答案
首先,您需要在侧边栏小部件中启用短代码。
为此,请在WordPress中安装此插件。
http://wordpress.org/plugins/shortcodes-in-sidebar-widgets/
[display-posts category =“travel”posts_per_page =“3”]必须是Display Posts插件的短代码。
你有安装插件吗?
如果不是,您可以使用此插件显示某个类别的帖子。
http://wordpress.org/plugins/list-category-posts/
安装插件后,您需要在侧栏上的文本小部件中添加插件短代码。
First of all, you need to enable shortcodes in sidebar widgets.
For this, install this plugin in WordPress.
http://wordpress.org/plugins/shortcodes-in-sidebar-widgets/
[display-posts category="travel" posts_per_page="3"] must be a shortcode for the Display Posts plugin.
Do u have the plugin installed?
If no, you can use this plugin to display posts from a certain category.
http://wordpress.org/plugins/list-category-posts/
After installing the plugin, you will need to add the plugin shortcode in the text widget on your sidebar.
发布评论