2017-02-13 102 views

回答

0

你必須使用:

<?php $author = get_the_author(); ?> 

或:

<?php the_author(); ?> 

在這裏你可以找到更多的信息:https://codex.wordpress.org/Function_Reference/get_the_author

在這裏:https://codex.wordpress.org/Function_Reference/the_author

在這裏:Show Author name in single.php (Wordpress)

+0

謝謝..它的工作 –

+0

這是偉大的。如果您標記這個答案,因爲你的問題進行適當的解決我將不勝感激。 – Plenarto

+0

完成!我還有一個問題。我的網站首頁顯示一個警告錯誤消息(警告:缺少論據2在/ home/kiranjithz /的public_html /可溼性粉劑內容/主題/海明威/ functions.phpon線hemingway_custom_more_link()179)如何解決It.please幫助 –

相關問題