WordPress allows displaying the author’s nickname instead of the real name. The actual and non-deprecated WordPress function for display is get_the_author_meta. To output the nickname, the field value of nickname passes to get_the_author_meta This function is able to retrieve various data relating to the author. Check other usages here: How to get Author email Here are some ways to get […]
Continue Reading
You can display the author’s images in the writer biography box which exposes the author’s social media profiles. In WordPress, there is a number of WordPress plugins that can show the gallery of the author. Some of the plugins that solve this problem include Social Author Bio and Xpandable author tab. But it is not necessary to install a plugin […]
Continue Reading
This is a short and simplified instruction to get a specific author’s posts in WordPress. If the website has at least one author, each author’s posts can be shown on a single page. It does simplify the author’s fans to see the posts of their favorite blog writer. In a simple way, to get posts from an author requires the […]
Continue Reading
In this post, you will come across with get_author_meta function. It is a WordPress function that can give author email. When get_author_meta is called it should pass a parameter value special for fetching the email. It is worth knowing the kind of values the function can process since there are 27 field values for this function to deal with. To […]
Continue Reading
Adding an item to a submenu programmatically can be done by taking the advantage of wp_nav_menu_objects hook. The submenu in WordPress can be created by retrieving the current menu. The menu has to provide the ID of each item it has. Then, the new submenu item uses the ID of a specific item to become a child of a particular […]
Continue Reading