Check your theme (header.php
). If it uses something like this :
<title><?php wp_title( '|', true, 'right' ); ?></title>
You can use this filter :
add_filter( 'wp_title', 'wpse104667_wp_title' );
function wpse104667_wp_title( $title ) {
global $post;
if(
is_singular()
&& !is_front_page()
&& !is_home()
&& !is_404()
&& !is_tag()
)
$new_title = get_the_title($post->ID) ;
return $new_title;
}
EDIT: add conditional tags to avoid bad conflicts
Related Posts:
- SEO meta description and title tag Yoast SEO
- Adding schema.org itemprop to WP4.1 Title Tag
- How to Change The Title in WordPress For SEO
- Homepage meta title and description not showing in search engines?
- Change meta data of pdf file
- Inconsistent title for posts
- SEO module to change tag title for different listing page
- Why I can not modify the appereance of my title web site in google? [closed]
- Wrong site title and description in google search
- How Do I Set the Page Title Dynamically?
- Using php to overwrite or replace title tag, while using yoast [closed]
- Two title tags in my header
- How can I add title attributes to next and previous post link functions?
- Problem in wordpress with “-“
- order by second word in title?
- How to add subscript and superscript in WordPress page titles
- add_theme_support( ‘title-tag’ ) in conflict with custom titles function
- the_title filter applying to menu items
- Modify page title format (when using title-tag)
- Fill post titles from post content?
- Empty title on front page/Home
- REQUIRED: The theme must not used the tags. | REQUIRED: The theme must not call to wp_title()
- Changing “Enter title here” based on post format
- How to get page’s ID if I know the title only?
- WordPress i18n-friendly preg_replace post title
- How to make a H1 different then the Title?
- How to set custom title of custom page template?
- How do I edit the tag without using the deprecated `wp_title()` function?
- Change Default Custom Fields Metabox Name
- Display post title on individual image attachment page
- Include category title in wp_title
- Replace URL with Site Title in Search Results
- WordPress page title repeated in SOME pages
- Automatically add title attribute to links in WordPress
- Get wp_title() from page ID into a variable
- How can i remove JUST the title tag from wp_head() function?
- Custom Post Type Title Placeholder [duplicate]
- Site title not showing. What can I do?
- Remove site name from tag
- What code do you use to generate the text to go into the HTML title tag?
- Change sidebar headers from H1?
- Multiple Conditions for Child Page Title
- How come my first blog post and my home page have the same title?
- Where do I change the ACTUAL title tag that is set in the header.php
- Why doesn’t YoastSEO allow me to set the title/description for the home page? [closed]
- Change title tag dynamically or within plugin?
- Get title of page from URL
- Hide price & title in store thumbnail dispay? [closed]
- Change all Post titles into [Title Case] format
- How to modify a title tag in genesis?
- Change Site Title and Description html tags if not home page
- How do I set the blog name?
- How to Change Title Attribute to be different from Page title
- How to sanitize post title with commas
- Add anchor text to php
- How to echo a different title to the page if it’s opened on an android mobile phone
- Remove post title
- Set max title length – similar to excerpt length for outside of single.php
- How to edit title on Edit post pages?
- How do I shorten the title lenghs with Elementor theme? [closed]
- Automatically add words if duplicate post titles
- Remove Title of youtube video
- Dynamically change page title from URL param
- How to Customize “WordPress > Error” Text in Titlebar?
- How to insert icon in site title
- How to add H4 tag to the_content filter (after content)?
- How can I automatically insert the page content as the title?
- Changing the title tag from a shortcode
- HeadSpace2 double title on homepage
- Changing title & add Breadcrumbs
- Page title is showing category name as well in the google search results
- change title separator
- Change title only in dynamic page
- Sanitize the output of the_title() or the_title_attribute() to remove whitespace
- Change page title dynamically before header is rendered
- Modify conditional titles to include parent and page number
- Blog Title not showing up on main Blog page
- Why is a category/ tag name prefixed to title of every page?
- How to set the seo title tag on a page by page basis?
- Where does Yoast SEO plugin sets the site/page title?
- For better digital journalism, how to store a second title and excerpt?
- After I set the title, it over-wrote all the titles for the individual pages
- Cannot use ‘CSS’ in post title
- Replace text in the Title
- Wrap the_title_attribute in a H2 within a Conditional Tag?
- ASCII titles with Yoast SEO plugin
- How to echo all the_title() without text after last “-“
- set title attribute in wp_get_attachment_image()
- Show Sitename on Yoast SEO Title tag [closed]
- Title tags show twice
- Setting page title and keywords from PHP code
- Anyway to specify what should appear in in .php file?
- How to solve the site tag being displayed twice?
- How can I override the post title when a post is set to sticky? [closed]
- disallow publish posts with special title
- Print post title with markup
- How to get current page title inside a page’s template
- Permalink and ACF field
- Remove tagline from the HTML on the home page without plugin?
- How to remove Title and CSS styling of title from particular page