cmw85
Forum Replies Created
-
Ok, I switched to microdata and did a few Google fetches, but now some of my reviews aren’t showing the star ratings at all when I do “site:(domain)” searches.
In the yasr-functions.php file I’ve switched back to just the first changes you told me to do, and reverted the rest of the changes I made. Should this fix the issue for still not showing the date, and also show the star ratings in search results?
Hey Dario,
Just one more question: When I do a google search for “site:sapphirereviews.com” the star ratings show up in the search results for my reviews.
But when I do a non “site:” search for my pages, the star ratings do not show up.
Could this be because I’m using json-ld instead of microdata?
Or do I just need to give Google some time to figure out that they should show my star ratings in their search results?
Oh it’s working now.
I also changed: $date = get_the_date(‘c’);
to: //$date = get_the_date(‘c’);
and did a fetch for one of my reviews on my other site that uses same theme, and it’s showing up perfectly in Google (not sure if my change made a difference or whether it was just coincidence)
But thanks a bunch for your help! Issue resolved.
Hey, so I made the change you just mentioned and the date disappeared from beside the star rating in search results. =)
But now the date is appearing at the start of the meta description again (and as mentioned, I’ve removed the date from the actual posts in the single.php file)
Any suggestions for how to get this lingering date to go away for good?
Thanks for all your help so far, I really appreciate it.
Sure, my site is https://www.sapphirereviews.com
But I talked to the support staff for my theme and they told me to remove a line of code from single.php. After I removed that code one of the dates from the beginning of my meta description was removed, but the date beside the star rating and review author still shows up.
Hi,
Thanks again for the quick reply.
So I changed the code you mentioned, and also changed a couple of things with a few of my posts’ meta descriptions. Then I did a Google fetch for the posts and noticed that my meta description changes went through successfully, but the date is still appearing to the right of “Review by (my name)” in the meta descriptions in Google search results.
Is there any other code I need to change to get these dates removed?
Hi Dario, thank you for such a great plugin and your quick reply!
Yes, editing a bit of the code works for me.
Thanks again for the help,
Chris