-
how to remove blog title from post title
-
Hello,
I understand you want to remove the blog title from the post title. To achieve this, you can follow these steps:
-
Navigate to Theme File Editor:
- Go to WordPress Dashboard → Appearance → Theme File Editor (for Classic Theme) or WordPress Dashboard → Tools → Theme File Editor (for Block Theme).
-
Choose the Theme File:
- From the list of files shown on the right side of the screen, select either
rank-math.php
orfunctions.php
.
- From the list of files shown on the right side of the screen, select either
-
Add the Code Snippet:
- You can use the following code snippet to remove the blog title from the post title:
add_filter('rank_math/opengraph/facebook/og_title', function ($content) { if (is_singular('post')) { $content = get_post_meta(get_the_ID(), 'custom_og_title', true); // Replace with your post meta. return $content; } });
- You can use the following code snippet to remove the blog title from the post title:
By adding this code snippet to your theme file, you can remove the blog title from the post title. If you encounter any issues or need further assistance, feel free to reach out.
Thank you for bringing up this concern.
Sources:
How to Fix “Either ‘name’ or ‘item.name’ should be specified” Error » Rank Math
How to Make Your Theme Rank Math Compatible » Rank Math
How to Fix “Either ‘name’ or ‘item.name’ should be specified” Error » Rank Math
How to Write a Post Title That Drives Traffic & Engagement
How to Remove Date Snippets from Search Results » Rank MathThis is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.
also how to remove date and time
Hello,
Thank you for contacting Rank Math and bringing your concern to our attention.
To help us understand the problem more clearly and provide a quick and smooth solution, please elaborate more on the issue you are experiencing.
Please send screenshots showing the exact problem and, if possible, a recorded screencast video demonstrating the issue.
You can use tools like Imgur for screenshots or Loom for screencasts.
We look forward to helping you further.
Thanks.
Hello,
We’ve checked your website and we can see that Rank Math added the correct meta title on your page:
You can also check it by using https://rankmath.com/tools/meta-tag-analyzer/ and https://www.heymeta.com/
However, Google is still adding the site name in the meta title. Nowadays, Google does that very commonly. Even when everything is fine, Google may choose to display a different meta title for your search query result. Google may skip the custom metadata you have set and instead display something from the page’s content that better matches the search intent.
You can follow this URL for details on this issue:
https://rankmath.com/kb/different-meta-title-and-description/Here is a article you can also check for reference:
https://www.searchenginejournal.com/google-changes-more-than-61-percent-of-title-tags/435618/Regarding the date on SERPs, please try to follow the steps mentioned in this guideline and see if that works for you: https://rankmath.com/kb/remove-dates-from-search/
Hope that helps and please don’t hesitate to let us know if you have any other questions.
Thank you.
https://drive.google.com/file/d/1c_SVvnM1Tfor8kW3CPE9oaTJD_vyzKkN/view?usp=sharing
Still showing in search result blog title from post title and date, please solve problemHello,
If you have already followed the steps in our guide, then it is just a waiting game before Google decides to update the title or remove the date from the search results page.
You should give Google some time to recrawl those URLs that are already indexed.
According to Google guidelines, crawling can take anywhere from a few days to a few weeks. The crawling and indexing depend on the authority and crawl budget of the website.
Looking forward to helping you.
-
You must be logged in to reply to this ticket.