📜  wordpress 获取存档标题 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:53.975000             🧑  作者: Mango

代码示例2
-the_archive_title():
you can just use this one function to do the work of is_Category() and is_Author() functions automatically.
It displays the archive title based on the queried object. so you dont need to put the if and else conditions
for each archive title. it will simply get the archive title from the url based on the user selection.