I see my name in the title when viewing author pages.
wp_title()
runs this code during execution..
// If there's an author
if ( is_author() ) {
$author = get_queried_object();
$title = $author->display_name;
}
Perhaps your author(s) don’t have a display name set?
Additionally be sure to try disabling plugins that may be hooking a filter onto wp_title
and check your theme’s function file for functions that hook on to…
Related Posts:
- How can I have a static title on my blog page?
- Set page title in WordPress with PHP
- Show page name in browser
- Issues with title-tag and document_title_parts
- Define page template in wp_insert_post
- Add custom template page programmatically
- Possible to search by author name with default WordPress search function?
- is_page_template not working
- Publish author posts only with editor approval?
- When is get_template_part() preferable to simply using the template.php files?
- Check if a menu is empty?
- How do I get the author’s page url from their ID?
- Store Page Template Files in a Subfolder
- Guest Author – How to modify my custom function code if the guest author URL will follow a particular pattern/format?
- Video Background – (php & css) – generating 404 error on page load – WordPress Theme File Structure Help
- Run Product Filter Javascript On Page Template
- Created custom post type but selected template not staying selected
- Why is POST’ing to my WP page template producing a 404?
- Are page/post IDs unique across a whole network?
- Grabbing the page template name?
- Adding the Admin Bar to a page with a custom template
- Can you call a template file without assigning template to a page in the admin panel?
- how to change link of some wordpress pages
- How can I list random authors from current post category?
- wp_redirect() does not work in custom template file
- Excerpts for Pages
- Visual Editor Templates
- is_account_page() change to page slug
- How to enable template page only for a post id page
- Change content of page in child theme using plugin
- Can two custom templates be used to create a single page?
- Find the page template of the previous page
- How to check if a specific page uses a page template?
- Get_template_part inside a folder
- Cant remove line that appears above page content
- Is possible add icon in title posts only in specific tag?
- wp-comment author- url +, email filter hook
- Change title only in dynamic page
- I want to duplicate homepage for all my pages
- How to rewrite title- and meta-description templates for page templates in Yoast Plugin [closed]
- Adding a Menu Page to The Dashboard
- Inject class in body when particular page template is used
- Show author on every sub-page
- page shows 404 on form submit
- Is it possible to add a child post into the parent page?
- Author Date Function not working as expected [duplicate]
- Is it okay to use page template as contact page? [closed]
- Including facebook.php in a wordpress page template?
- is_front_page and is_home are not working in page.php
- How to build a PDF repository in WordPress
- Page with posts from category doesn’t work
- Why is a renamed custom template file still showing up in the template dropdown menu?
- Page template added via plugin not saved in Gutenberg
- How can I load 2 random pages?
- Blog page wont use blog-template.php
- Delete post: 2 wp_redirect if pages are different
- The best way to create pages like an ‘about’, ‘contact’ and etc [closed]
- Image not showing on page template in Twenty Fifteen-theme
- Display author box on just certain category posts?
- Display additional page templates and a sidebar on plugin activation
- How can i list random author?
- Limit page template choice by page title or ID?
- Function to check if custom page is used by page?
- WordPress custom login and register page problem?
- Authors posts on a author created page
- Using conditional statements in place of custom Page templates
- Controlling the Admin panel for page templates
- Insert content into head tag with function
- Unable to use get_page_by_title() more than once per page?
- Page Templates automatically showing index page contents?
- how to show comments only author which send own posts in wordpress
- how to replace h1 entry title with h2 in category pages only
- Contain multiple page templates in one PHP custom template file in WordPress?
- how to display author name in custom post type
- Create Page with Pagetemplate and get a post_type_object->template
- Inserting article:tags meta in html head-element, using get tags, no wp_head
- Why is wp_list_authors not picking up Authors from CPT’s?
- wp_logout() not working after form submission
- How to allow user to select page template from front end?
- Converted HTML5 to WP, How to apply converted classes to new pages (after conversion completed)
- Author Page User id in functions.php for non login user
- Custom page template displays the archive template
- Sending Messages Back to the Template After Processing?
- Using a page-template to restrict access based on IP (Frontend)
- Need help in creating splash intro page using custom page template
- Adding secondary featured image for page_for_posts
- What is the best way to create very custom campaign pages?
- Custom Forget Password page
- Get post title by Alphabet
- Using page template as Static Front Page
- How to make page template with admin able to select NextGen Galleries to be part of the layout?
- Showing sidebar-2 on custom template page
- Background of default template showing instead of the background of custom page template
- How to Insert A List of Posts in A Category Written by the Author into the Author Archive
- Videopress Short Tags not working when pulling page into template
- Custom Post-Rename Function Does Not Function in WordPress 6.x
- How to show feature image, Title, Breadcrumb before Page in flatsome theme
- Logout redirect via page template without confirmation?
- WordPress Page Slug with URL custom template
- Can wordpress search inside a custom page template?