wordpress友情连接去掉多余的部分,以及友情连接相关参数

发布于 2013-07-28 作者 [重庆SEO]

<li id="linkcat-13" class="linkcat">
<h2>友情连接</h2>
<ul>
<li><a href="http://test">test</a></li>
</ul>
</li>
去掉红色部分<?php wp_list_bookmarks('category_before=&category_after=');  ?>
wp_list_bookmarks 函数的默认参数是:
'orderby' => 'name'
'order' => 'ASC'
'limit' => -1
'category' => "
'category_name' => "
'hide_invisible' => 1
'show_updated' => 0
'echo' => 1
'categorize' => 1
'title_li' => __('Bookmarks')
'title_before' => '<h2>'
'title_after' => '</h2>'
'category_orderby' => 'name'
'category_order' => 'ASC'
'class' => 'linkcat'
'category_before' => '<li id="%id" class="%class">'
'category_after' => '</li>'