Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi,
I'm by any means not a coder (just had to put that out).
So I did a Site Audit scan of my shop using Semrush for the first time yesterday, and it says the following about my blog posts:
"The property pubdate is not recognized by Schema.org vocabulary."
By inspecting in chrome, I can see that pubdate is located like this in the html:
<span class="circle-divider caption-with-letter-spacing" itemprop="dateCreated pubdate datePublished"><time datetime="2022-07-12T07:29:22Z">July 12, 2022</time></span>
I tried to google a bit, and it seems like I might just have to delete the pubdate and only include: itemprop="datePublished"
But I can't find this in the themes code (using Dawn).
If I'm on the right track, I would really appreciate if someone could help me out on how to change the "itemprop". If not, what should I do otherwise? Seems like a kinda unnecessary problem since there aren't many customization possibilities for the blog.
Might also be worth to mention that I can't fix this by editing the posts HTML from the admin blog panel.
Solved! Go to the solution
This is an accepted solution.
Hey, I had this pop up today as well. If you look in the Theme Code > Sections > main-article.liquid you should see the bit you need to update on around line 39 and just remove the pubdate.
That said, always download the theme code before you start so you have a backup in case anything goes wrong 😉
This is an accepted solution.
Hey, I had this pop up today as well. If you look in the Theme Code > Sections > main-article.liquid you should see the bit you need to update on around line 39 and just remove the pubdate.
That said, always download the theme code before you start so you have a backup in case anything goes wrong 😉
Got it! Thanks Patrick 😃
Hello,
I had the same issue and this solution also worked for me.
Thank you...
HI! I have the same issue, and I found on line number 57 this:
<span class="circle-divider caption-with-letter-spacing" itemprop="dateCreated pubdate datePublished">
So should I remove all the span class? or just de pubdate? Thank you very much
Is there an answer to this question? I have the same problem. Pls help
I got it. It´s just the word "pubdate"
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024