我是wordpress的新手。我想显示来自其父级的子级帖子。喜欢
.父类别1
父1和3帖子的子1(非其他子帖子)
- 我该怎么做?
我是wordpress的新手。我想显示来自其父级的子级帖子。喜欢
.父类别1
父1和3帖子的子1(非其他子帖子)
假设这是在使用“文本”选项卡的帖子或页面编辑器中,您需要将CSS包装在标记中。因此:
<style>
.section-list-item:nth-child(3n) {
padding: 1.87em 0em 1.25em 0em;
}
</style>
<p> this is working in WordPress, I have solved it</p>
我正在使用wp_list_categories() 从特定的作者ID打印出每个类别的链接,这很好。然而,我还想添加一个div 致各li 将保留类别的图标。我怎样才能做到这一点?这是我当前的代码:<?php // Display a list of all categories associated with author $cat_array = array(); $args = array( \'author\' =>