Output label description - WordPress development

Description of the output label

be used tag_description Function,

Official documents: https://developer.wordpress.org/reference/functions/tag_description/

In the tag page tag.php, you can directly output:

 <? php  echo  'Label description:' . tag_description(); ?>
 Output label description - WordPress development

In the function, you can use:

 <? php $tag_txt = tag_description(); echo  '<header class="m-archive-header"> <h3><span class="title">' . $title . '</span> ' . $subtitle . '</h3> <h5>   ' .$tag_txt. '  </h5> </header>' ; ?>

End

course

Wordpress home page only displays title or subtitle

2019-6-21 16:11:35

course

Several steps of changing domain name in wordpress

2019-6-27 15:23:19

⚠️
Some codes and tutorials on Npcink come from the Internet, and are only for netizens to learn and exchange. If you like this article, you can Attach original link Reprint at will.
No intention of infringing your rights, please send an email to 1355471563#qq.com Or click on the right Private message: Muze feedback, we will deal with it as soon as possible.
0 replies A Author M administrators
    There is no discussion yet. Tell me your opinion
Personal Center
Shopping Cart
Coupon
Sign in today
There are new private messages Private Message List
search