简体   繁体   English

WordPress热门帖子如何显示类别之类的帖子?

[英]WordPress popular posts how to show posts like category?

I'm using plugin (wordpress popular posts) that's allow me to create side-bar widget (www.humnutrition.com/blog/), but if you click on other category like (BEAUTY, SCIENCE etc.), WP will render new page with posts in that category. 我正在使用插件(wordpress受欢迎的帖子),允许我创建侧边栏小部件(www.humnutrition.com/blog/),但是如果您单击其他类别,例如(美容,科学等),WP将呈现新的该类别帖子的页面。 May be we have some easy way to that with (MOST POPULAR)? 也许我们可以通过(MOST POPULAR)达到一些简单的方法? Basically create new category which will render page with all posts from "popular" widget? 基本上创建一个新类别,该类别将呈现“热门”窗口小部件中的所有帖子?

I'm javascript developer, so I'm not so strong in php, but any way, don't want to waste a lot of time on basic tasks for WP, so maybe someone know easiest way to do it? 我是javascript开发人员,所以我不太擅长php,但是无论如何,不​​想在WP的基本任务上浪费很多时间,所以也许有人知道最简单的方法吗?

Thanks. 谢谢。

just create a normal wordpress page and use the plugins shortcodes to show the posts. 只需创建一个普通的wordpress页面并使用插件的简码即可显示帖子。

[wpp range="monthly" stats_views=1 order_by="views"]

This would output the most viewed posts from the last 30 days. 这将输出最近30天内观看次数最多的帖子。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM