Set three class at “get_category_link” of template
-
I’m having trouble inserting a custom template file of “get_category_link” .
I wrote the template source below…
// Show category link:
$lcp_display_output .= '<span class="entry-meta_items entry-meta_items_term">'; $lcp_display_output .= $this->get_category_link('a', ' btn btn-xs btn-primary'); $lcp_display_output .= '</span></div>';I want to set three class at a tag but can’t.
hope
<a class="btn btn-xs btn-primary" href="httpX://XXXXXX.XXXXXX/category/schedule/ongoing" title="ONGOING">ONGOING</a>result of a tag is NULL and wrong.
<span class="entry-meta_items entry-meta_items_term"> <a class="btnbtn-xsbtn-primary"></a> <a href="httpX://XXXXX.XXXXX/category/schedule/ongoing" title="ONGOING">ONGOING</a>Does anyone know solve the problem, please let me know.Thanks.
- This topic was modified 8 years, 4 months ago by .
- This topic was modified 8 years, 4 months ago by .
- This topic was modified 8 years, 4 months ago by .
- This topic was modified 8 years, 4 months ago by .
- This topic was modified 8 years, 4 months ago by .
- This topic was modified 8 years, 4 months ago by .
- This topic was modified 8 years, 4 months ago by .
- This topic was modified 8 years, 4 months ago by .
- This topic was modified 8 years, 4 months ago by .
- This topic was modified 8 years, 4 months ago by .
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Set three class at “get_category_link” of template’ is closed to new replies.