Inside The Loop you can use the Template Tag the_author()
to display or get_the_author()
to return the same. For an introduction to outside the loop usage take a look at the Q&A’s at the thread How to get Author ID outside the loop on here.
Related Posts:
- the_author_posts_link css class
- How do I get the author’s page url from their ID?
- Current post’s author name in the author meta tag
- Allow authors to post only in categories they create in WordPress
- Missing Author Information
- Get_the_author doesn’t return author name
- the_author() not working outside the loop
- When using the_author hook, how can I determine the PHP file that generates each call to `the_author()`?
- Get Current User Id Inside a Loop Returns 0 For a Shortcode
- Retrieving Author ID in wp-admin area
- Storing Array from returned database query and using the array in a new query
- Getting the author name on author archive page
- edit_comment_link is not showing for comment author
- Remove author link wherever author’s name is display
- Noindex Posts From Certain Authors In WordPress
- Noindex subscriber author page
- How to hide the author box of a specific user?
- Comment_author_url doing nothing
- Create condition for Author bio Social Links
- How to change the author box selection on a post to a custom taxonomy
- Remove Author Links
- WordPress redirect to a subpage – how to create a template for subpage?
- Show all people who commented on all posts by an author
- Show sidebar only to author of post
- Posts missing on author page
- Return author name as a tag using get_author
- Send Notification to all users that followed some author
- Following/Followers Users list Using Ajax Pagination inside Author Profile
- Send email to users when they get new followers
- How to make a parent page for author.php?
- Changing WordPress author name in database
- Showing the authors username and bio on custom author.php
- How can I output the slug of a comment author?
- How to have Function of a plugin using global vars into a shortcode?
- When I use rewind_post() it shows menu items in my loop
- Assign new post author IF another user in custom field on post transition
- Create guest author page via php
- Moving a PHP web-app to WordPress
- How to use multiple query with same meta key
- How to use WordPress (PHP) functions in AngularJS partials files?
- How to Remove a Filter from the Admin List Table?
- Remove commas from WooCommerce checkout addresses fields
- Concatenate site_url and string doesn’t work
- How to display user nickname (not display name) in PHP template?
- Extract subdomain and relative address from a url
- Custom Template 404 for specific custom post type
- Different output from WP-CLI in bash vs PHP exec()
- hook that when page is starting to load
- Theme Options Page – User Updates Logo
- How do I use this PHP library to access OpenGraph data in a child theme?
- Ajax category filtering products default show all
- How to exclude category ID from Looper in WordPress
- Custom user login page by creating a plugin
- Add a specific part of current category page url to shortcode
- Why ajax doesn’t work on certain wordpress hooks?
- Whitelisting items from custom options page
- Add_menu_page not displaying the menu in class based plugin
- Approve post and send the password
- How to store options in an array
- Generate sidebar depending on height of post
- Get author and excerpt from URL
- Sidebar not appearing in footer, but it appears everywhere else!
- How to create table in wordpress without plugin? [closed]
- Why is my str_replace not working on short code submitted by front-end?
- How do you create two separate Register pages?
- $_GET[‘updated’] does not work in WordPress 3.1?
- Include only posts with meta key “add_in_rss” in RSS Feed
- SOAP Request/Parsing XML From wp_send_json_success
- get db values for external js file
- How to exclude a widget from W3 Total Cache Plugin
- WordPress the_content Page Load
- How to split AJAX response into two divs
- Deleting expired session tokens in WordPress
- How to set variables with AJAX request to use in another function in WordPress
- How to hide the file name of 404.php in URL?
- when hooking to pre_user_query my wordpress crashes when using very simple commands?
- I am having errors with checkout on wordpress
- Display articles with a different template in the home page | Solved |
- How to use Multi SQL Database in WordPress?
- Help me understand how Search function works using dynamic_sidebar()
- How to display post meta bellow every posts
- Sudden Upload HTTP errors, PHP uploads and memory limits are already to high to my taste. Anything else?
- form submission reverts to index.php template
- Hide a specific category title from displaying on site
- i want add conditional for add category in wordpress
- Return to the beginning of the results of a for loop
- Thumbnail wouldn’t scale to size properly
- Scheduling a post using publish date from a custom field. Resulting post is set as published in the future instead of scheduled
- PHP script to redirect traffic based on website accessed
- How to remove title tag with this filter
- Real time notification on user profile after new comment
- How to get the first letter from custom field?
- A Space being added to url generated by custom plugin
- Why this plugin is not working?
- get_post_meta is always empty when I use wp_mail
- How to execute add_action() function from custom plugin to Crontrol plugin or do_action()?
- Incomplete term slugs output from a foreach loop with get_the_terms
- Custom Shortcode with Dynamic Button
- how to create twitter card without plugin in wordpress website?
- How to use phpspreadsheet reader with $wpdb