SOHO创业

wordpress父分类和归档页调用子分类名称和链接

category和archives调用下级子分类的名称和链接

<?php if ( is_category() ) { $this_category=g et_category( $cat ); } ?>
<?php if ( $this_category->category_parent ) 
$this_category = wp_list_categories( 'orderby=id&show_count=0&title_li=&use_desc_for_title=1&child_of='.$this_category->category_parent."&echo=0" ); 
else $this_category = wp_list_categories( 'orderby=id&depth=1&show_count=0&title_li=&use_desc_for_title=1&child_of='.$this_category->cat_ID."&echo=0" ); 
if ( $this_category ) { ?>
<ul>
<?php echo $this_category; ?>
</ul>
<?php } ?>
Published
Categorized as 建站知识 Tagged , ,

By SOHO

wowsoho.com是一个关注跨境电商、创业话题的网站。

WordPress外贸网站建设的成功要素与技术点

  WordPress作为一款强大的建站平台,为外贸企业提供了丰富的功能和灵活的定制选项。在这篇文章中,我们将… Continue reading WordPress外贸网站建设的成功要素与技术点

Chinese WordPress service company jianzhanpress

Chinese WordPress service company jianzhanpress.com spe… Continue reading Chinese WordPress service company jianzhanpress

WordPress外贸建站平台的核心特征大揭秘

  选择适合的建站平台是外贸业务成功的重要一环,而WordPress作为建站平台的选择之一,拥有一系列核心特征… Continue reading WordPress外贸建站平台的核心特征大揭秘

给wordpress仪表盘添加自定义图标

wordpress后台仪表盘默认的图标是wordpress自带的,如果要将图片修改为自己的,只需要在function.php文件中加入以下代码。

WordPress外贸建站教程零基础学会的高效路径

  在全球数字化时代,学习WordPress外贸建站成为拓展国际业务的关键一环。本文将为您提供一个专业版的Wo… Continue reading WordPress外贸建站教程零基础学会的高效路径

wordpress搜索结果只关联标题

wordpress搜索结果只关联标题,不关联内容。