Questions tagged «template-tags»


3
author.php中的回显作者ID
这可能是一个非常简单的问题。 但是,如何在author.php上回显用户的ID? 我试过了 the_author_meta('ID') 但是它似乎并不想工作。例如,我想在URL的末尾回显它。 http:///www.domain.com/author/sampleauthor-id 显然,“ id”是该特定作者的ID 有任何想法吗?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.