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
- How to change the case of all post titles to “Title Case”
- Issues with title-tag and document_title_parts
- What does is_page_template() compare against?
- Creating custom blog page template the right way
- How To Create A Paginated List Of All Categories On My Site?
- Define page template in wp_insert_post
- Use author author display name in permalink structure for pages and posts
- Add custom template page programmatically
- Define custom Page Template without its own .php file
- 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?
- Create “File-less” Page Template in Functions.php
- How to remove all styles for certain page template?
- Password protected posts redirects
- Variable use in get_template_part
- Filter the query ONLY for the search results page
- Overriding page template using page_template filter
- Check if a menu is empty?
- Add admin bar link to edit author
- Simplest way to add a second html editor to the post/page admin?
- How to consolidate multiple static page templates into one dynamic one?
- Loading page content into a variable in template
- How do I get the author’s page url from their ID?
- How to hide/redirect the author page
- Capturing arbitrary semantic URL arguments
- How to customize search result page title?
- How do I display the text inside the WP editor for a page with a custom template?
- Set a User as Author of all ‘New Posts’ posted
- Dynamically assign same page template to child page as parent
- What content should go in index.php?
- Function to check if author has posted within the last x days
- Store Page Template Files in a Subfolder
- How to show a post single post in page template
- Allow authors to post only in categories they create in WordPress
- Changing document title only on a custom page template
- How to pass a numeric id to a page template?
- Checking for existence of a page by title?
- Authors Page : A page of authors
- Change destination author link
- How can I dynamically load another page template to provide an alternate layout of the posts?
- Authors details such as social media links, emails etc → Is this Meta or something else?
- Guest Author – How can I use custom fields to create guest author link?
- Create a new template for twentytwelve
- get url page template
- Breadcrumb how i can display page title with parent > child title with permalink ? any Idea
- Display the number of user comments
- Posts archive index pagination in a static page custom query
- Custom page template how to check is_page from functions.php?
- 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
- Calling a function from functions.php in custom page/ blog post
- Returning Variables back into a template
- How to remove a parent theme template from Quick Edit?
- How to Set a Custom Template for Blog Posts
- Run Product Filter Javascript On Page Template
- is_page_template & is_page in functions.php not working
- Removing or Restricting Access to Page Templates for Editor Role
- Created custom post type but selected template not staying selected
- Why is POST’ing to my WP page template producing a 404?
- get page title, url and excerpt of a page
- Can I create a page template, use it once, then hide/remove the option to use it again?
- Are page/post IDs unique across a whole network?
- Custom template for each page
- Theme’s page.php and index.php template files are confusing me
- Grabbing the page template name?
- Adding the Admin Bar to a page with a custom template
- Programmatically set page template based on page ID
- Use is_category(), is_tag(), … in functions.php
- Can you call a template file without assigning template to a page in the admin panel?
- Display only custom post type count for current author on the “At a Glance” dashboard widget
- page-slug goes to not found
- How to make unique add_filter to the_content of specific page template files – so each template gets its own addition
- Why am I getting syntax error, unexpected ‘endwhile’ (T_ENDWHILE) in this template? [closed]
- How do I add a body class to specific pages?
- Adjust which tempalte a page uses with a function?
- How to edit 404 content via wp editor?
- How to list all titles of posts on a specific page?
- How to handle a missing page.php?
- Customize edit.php Pages listing in dashboard to show only pages with a particular template applied?
- Programatically switch page template?
- How to specify which Gutenberg blocks are available in the editor for a page template
- how to change link of some wordpress pages
- How can I list random authors from current post category?
- How to create a page template that retrieves content from db?
- page template for attachement page?
- Change path of the page’s template
- wp_redirect() does not work in custom template file
- Remove all theme CSS & JS from wp_head (but only for 1 page template)
- Filtering posts by category name based on page’s slug
- Get page id of current page from template [duplicate]
- is_page_template returning false
- remove page template from dropdown?
- Export csv and force download in template page
- WPML in custom page templates
- Programatically changing template of a page