I don’t think adding <span itemprop>
to the <title>
is a good idea… If you can not use any existing tags like <h1>
for that, you may consider adding meta
tag: <meta itemprop="name" content="Company Name">
. You can add this using wp_head, but keep in mind it should be within itemscope
.
If you really going after changing title
tag, Yoast SEO has it’s own filter ‘wpseo_title’, so you need to call that one.
add_filter('wpseo_title', 'filter_title');
function filter_title($title) {
// do something to the $title here
return $title;
}
Related Posts:
- Manipulating wp_head content
- Display Yoast WordPress SEO title in archive template
- How to add a page to the Yoast breadcrumbs
- How to print meta description to posts? [closed]
- Removing “Noindex, follow” from pages [closed]
- Why do I get a 404 for my sitemap index after installing Yoast? [closed]
- Change content language for one page
- Add Page number to Meta Description in WordPress SEO by Yoast [closed]
- Yoast’s WordPress SEO plugin is not showing the correct snippet [closed]
- XML Sitemap : broken XML file [closed]
- make the url unlimited
- Query Post Based of Yoast Primary Category Class
- Wrong Canonical url link
- When does the Yoast SEO filter hook wpseo_sitemap_urlimages fire?
- How to parse Yoast SEO Snippet Variables
- Post content blank after disabling Yoast SEO
- With the Yoast SEO plugin, is it possible to make the meta description a required form field?
- WP-RestAPI and xml sitemap
- help to write a custom php script to settingup yoast priority to pages or posts
- Yoast Seo Plugin – Set no-index to a post automatically when a post is set to sticky [closed]
- Yoast SEO Plugin: Double Title isse [closed]
- Yoast SEO creates sitemaps with a dash ‘-‘ but I can’t get Bing to accept them [closed]
- Way to change the Yoast Schema depending on post type? [closed]
- Change base URL of Yoast Sitemap [closed]
- Variable focus word YOAST
- How can I add a second Open Graph image to a site using Yoast? [closed]
- How to call Yoast Seo Tags without needing to call the whole wp_head?
- My WordPress website has 2 header [closed]
- Add content before Yoast description
- Twenty Eleven Theme – SEO Yoast duplicate site titles
- Add Page number to Meta Description in WordPress SEO by Yoast [closed]
- How can I change the tag contents of individual WordPress posts?
- Blog home page has canonical link that is incorrect. Do not see where to change this
- How to Modify Breadcrumb Page Names for Specific Pages? [closed]
- P3 Profiler and Yoast SEO plugin
- WordPress site running on Yoast not being indexed into Google News [closed]
- How to use the Yoast SEO wpseo_canonical filter to set a canonical URL for /, /au/ & /uk/ sites in a MU environment
- Yoast Metadata API to adjust/override the meta description
- Prevent Yoast from removing the canonical tag if robots meta tag is set to noindex [closed]
- Fixing link rel=”next” in Yoast SEO for paginated links
- how to disable Yoast SEO schema from homepage only?
- WPML and Yoast SEO setup on a wordpress site is not working properly
- Remove canonical link element from noindex pages
- What could be causing the category to be appearing as the post title in the title tag?
- Changing Post Sitemap Frequency to Hourly [closed]
- Turn off auto 301 on archive pages? [closed]
- Yoast: do I still need to manually insert meta tags in my theme or will Yoast do this for me? [closed]
- Hard-code SEO Title defaults across all sites on a multisite
- WordPress site using Yoast SEO being blocked from indexing by robots.txt
- SEO Yoast Menu Not working
- Wrong Open Graph image is shown (og:image) using yoast
- An inactive plugin causes an HTTP 404 issue on a translated post – WPML
- Set default image for twitter cards with Yoast?
- Overwriting yoast’s og:meta output?
- yoast seo plugin – remove bulk title and description editor menu from non-admins [closed]
- Yoast SEO makes repeated INSERT queries loading any page
- how to add urls dynamically into the sitemap
- yoast sitemap xml
- Remove an action from an external Class
- Change Page’s Tag Using functions.php File
- How can I reduce the amount of files loaded/included per plugin?
- Is checking whether the blog is installed necessary?
- Wp_head and wp_footer vs wp_enqueue_script javascript files?
- How to properly insert a stylesheet in wp_head
- How to add inline css/js inside a shortcode
- Can’t access my WP dashboard: fatal error? [closed]
- Custom WP TItle from custom template with dynamic URL structure
- Yoast SEO hooks overriding themselves
- Fatal error: Call to undefined function get_post() with ajax
- Remove WordPress scripts
- Why does Google Image Search still display my images?
- WordPress display breadcrumbs using Yoast plugin [closed]
- List all posts in a custom post type with pagination (the correct way)
- wp_head function not outputting
- WordPress thinks my custom taxonomy pages are search pages #seo
- How to disable/enable specific plugins for a mobile theme?
- How to override the title tag for woocommerce endpoints?
- WordPress SEO plugin (by Yoast) and BuddyPress [closed]
- Yoast Force Rewrite Crashed Site [closed]
- Display Yoast meta-description `wpseo_desc` within loop of categories and fail silently if no data is set [closed]
- Yoast primary category query modification
- Different favicon on different pages
- Remove all stop words from old permalinks
- Grab ID from post from plugin and use it to create an object
- How to use only scripts from new theme?
- Remove_action inside a function
- We are facing this error in header unable to understand the issue
- Why is URL Slug Saving Differently From How It’s Been Defined?
- Permalink not changing according to post type
- Getting the contents of wp_head while in admin?
- 301 redirects after changing permalinks
- Wp_head () affecting my images layout
- How do I get a reference to the HTML memory buffer while the page is being constructed?
- Using $this with an anonymous function in filters
- Edit meta fields from within template
- Removing action from template class
- Setting Custom WordPress “Posts page” AS “Front page”
- Echo a div to header.php from functions.php
- Possible to change meta data single quotes to dobule quotes in yoast wordpress seo? [closed]
- Reading the inside of