Sayan Datta
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Last Modified Info] Update not displaying on postsHi, I have already implemented a feature in v1.4.4 at plugin settings. Go to Plugin settings > Post Options and set ‘Show on Archives’ to yes and this will show last modified info on all of the archives as well. You do not need to add any code to functions.php file anymore.
Thanks!
Forum: Plugins
In reply to: [WP Last Modified Info] Working with Features ImagesYes, it is possible. Just add this snippet to single.php file to show last modified info on posts via shortcode:
<?php echo do_shortcode( '[lmt-post-modified-info]' ); ?>Thanks!
Forum: Plugins
In reply to: [WP Last Modified Info] Text Appears under Page BuildersHi @selfmade23 and @bperniciaro
There is no need to add this code snippet any more to the end of your functions.php file as I have already added this feature in plugin v1.4.4. So if you have already added it, you can remove it from functions.php file.
@selfmade23, have you checked it that your theme does not support basic schema? If already supports then you do not need to add this snippet to functions.php file.
Now @selfmade23 you can check schema markup by using Google structured data testing tool.
PS: I will implement an option in the next release i.e. v1.4.5 of this plugin at Settings > WP Last Modified Info > Misc Options to turn on/off this feature as many theme has already supports basic schema structure. This feature is helpful for those themes in which basic schema is not already implemented. So that already supported users can turn it off.
You need to just turn on this on after plugin update. I will release this version very soon.
- This reply was modified 7 years, 4 months ago by Sayan Datta. Reason: Typo
Forum: Plugins
In reply to: [WP Last Modified Info] Text Appears under Page BuildersHi @bperniciaro
WebPage schema type is ok if you want to show only ‘dateModified’ schema type to SERPs. If you use Article (http://prntscr.com/m81601) / BlogPosting (http://prntscr.com/m817m4) then you have to specify all other required fields shown in screenshot as those schemas are required for Article/BlogPosting. If you specify all fields then Google will show the ‘datePublished’ date to SERPs and ‘dateModified’ schema will be ignored in that case.
As an example, view this website and schema results. It is the website of one of the users of this plugin.
Website: https://lushpalm.com/surfing-punta-mita/
Schema Test: https://search.google.com/structured-data/testing-tool/u/0/#url=https%3A%2F%2Flushpalm.com%2Fsurfing-punta-mita%2F
Google SERP Screenshot: http://prntscr.com/m81bit
His Review: https://wordpress.org/support/topic/works-like-a-charm-1390/
I think it would clear your doubts.
Thanks!
- This reply was modified 7 years, 4 months ago by Sayan Datta.
Forum: Plugins
In reply to: [WP Last Modified Info] Post modified info missing on archive pagesForum: Plugins
In reply to: [WP Last Modified Info] Text Appears under Page BuildersHi @bperniciaro
Please add this snippet to the end of your active theme’s functions.php file and check the schema markup via Google Structured Data Tool.
function lmt_add_schema_attributes( $attr ) { // return the new attribute return $attr.'itemscope itemtype="https://schema.org/WebPage"'; } add_filter('language_attributes', 'lmt_add_schema_attributes');Forum: Plugins
In reply to: [WP Last Modified Info] Text Appears under Page BuildersHi, your theme does not compatible with basic schema structure. So Google can’t recognize the schema type and fails to show last modified schema markup. I would suggest you to use any SEO plugin like Yoast to get basic schema for your website. If you do not want to use any SEO plugin, then you have to make some changes to your theme files to make your theme schema compatible. Add this piece of code to body tag
itemscope itemtype="https://schema.org/WebPage"this will make your website compatible with schema and shows last modified schema markup. Demo Screenshot: http://prntscr.com/m7ljpmThanks!
Forum: Plugins
In reply to: [WP Last Modified Info] Working with Features ImagesYes it is possible, but in this case you need to make some tweak to your theme’s single.php file to show last modified info above post featured image.
Thanks!
Forum: Plugins
In reply to: [WP Last Modified Info] Text Appears under Page BuildersAs, you are using Thrive Architect buider, I think you need to add shortcodes to display last modified info on posts or pages. Shortcode for post is
[lmt-post-modified-info]and for page is[lmt-page-modified-info].Thanks!
Forum: Plugins
In reply to: [WP Last Modified Info] Sort posts by modified date in the frontendHi @lorirow
Which snippet you are using?
Forum: Plugins
In reply to: [WP Last Modified Info] Update not displaying on postsYes you need to put this snippet everytime to active theme’s functions.php file after you update your theme. You can avoid this by using a free plugin called Code Snippets. However I may add an option for this in plugin settings page in future, but I do not have any plan to do it now.
Thanks!
Forum: Plugins
In reply to: [WP Last Modified Info] Update not displaying on postsHi @anefarious1
Deactivate and delete (do not forget to keep βDelete Plugin Data upon Uninstallation:β option disable) old plugin from your wordpress website and upload the downloaded zip manually.
Steps are:
Go to “Plugins > Add New > Upload Plugin”
Select the downloaded zip file and install and activate it.
Thanks
Hi @foliovision
Please let me know if the problem still exists. Thanks
Forum: Plugins
In reply to: [WP Last Modified Info] Update not displaying on postsLast modified info can be displayed on posts page if your theme supports it. I have implemented a feature to show last modified info on posts page/static posts page. You need to just add this snippet to the end of your currently active theme’s functions.php file after installing plugin from the provided link of Google Drive.
add_filter( 'wplmi_show_on_homepage', '__return_true' );Hi @anefarious1
I don’t know the actual problem on your site but it is working fine (Link: http://prntscr.com/m5skoa) on my end. However I have implemented some changes.
I am requesting both of you that please deactivate and delete (do not forget to keep “Delete Plugin Data upon Uninstallation:” option disable) plugin from your site and upload this file to your site and activate it and I think it will work for both of you. Please let me know if the problems still exist.
Thanks
- This reply was modified 7 years, 4 months ago by Sayan Datta.
Forum: Plugins
In reply to: [WP Last Modified Info] The shortcodes don’t workThank you very much for your 5 star review. Marking this as resolved now π