artemt
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Last Modified Info] Jason Ld vs Inline Micro DataHi Sayan,
Thanks a lot for your clarification regarding JSON-LD markup. Very clear info!
However, I have one question: I see one website that has only WebPage schema and, as you mentioned, it contains both datePublished and dateModified info. However, Google still shows dateModified date in SERP. How do they achieve it?
Here is the website mentioned: https://www.gearhungry.com/best-dartboard/
Thanks in advance!
You were right – after using the code there is an error in Google Structured data tool. I removed Schema plugin and left only yours one.
Currently I’ve enabled JSON-LD Markup and now only dateModified is shown in CreativeWork schema.
Thank you for your help!
Regards,
ArtemForum: Plugins
In reply to: [Schema] How to remove datePublished from the markup?Thank you Hesham for the updated code!
Note: Removing the published date will show an error in Google’s Structured Data Testing Tool, so be aware of that.
Is it a bad thing for rankings or it’s only a notification in Structured Data tool?
I just want Google to show update dates in SERP instead of publish ones.
Currently it’s even worse – the site stops working at all (including dashboard) when I’m adding the code ?? I asked developer about the issue, waiting for his reply.
Will update you about this. Thank you for your help!
Artem
I would recommend you to only use this plugin
But I still need something to mark-up Schema (I don’t know how good would be the default Schema of my theme). I’ve found a code for removing datePublished parameter in Schema plugin. Isn’t it a better solution than to remove the whole plugin?
Also, after reading your post regarding JSON-LD Markup vs Inline, if I understand correctly when the JSON-LD Markup is used then the dateModified will be shown in SERP, because BlogPosting is the children schema of WebPage Schema.
If that’s right, so what is the reason to remove Schema plugin?
I am currently working on this plugin to add some cool feature and I have added it to feature list. This option will be available in the upcoming version.
Awesome! Will be waiting for it. Thank you!
Regards,
ArtemI’ve figured out how to do it – just had to switch to <span> tag instead of <p> in Post options tab.
Thank you anyway!;)
Regards,
ArtemThank you for the very fast reply!
Here is what I’d like to get: https://drive.google.com/file/d/1ZSdNqvJ3GuocOUw9ITnrxwY2mkaw_WCV/view?usp=sharing
And here’s what I’m getting with shortcode: https://drive.google.com/file/d/1e7udtvbTetiYRnTu9emUcVSBNDjSyvQu/view?usp=sharing
This is the text line:
<span style="font-size: 10pt;">by <strong>Artem</strong> | [lmt-post-modified-info]</span>
So, the 2 questions are:
1) how to make it stay on the same line
2) how to reduce the font size to 10pt (now it uses the default font size for posts taken from my theme)Thanks,
Artem- This reply was modified 6 years, 1 month ago by artemt.
Forum: Plugins
In reply to: [Schema] How to remove datePublished from the markup?Hi Hesham!
Thank you for your help! But here is my problem: when I add that code to theme’s functions.php, the website stops working – I can’t even access dashboard. Tried to deactivate plugin, still the same issue.
What can cause it?
UPD: My PHP version is 7.2
Thanks in advance!
Regards,
Artem- This reply was modified 6 years, 1 month ago by artemt. Reason: Update