Sayan Datta
Forum Replies Created
-
Hi @atakken
There is a Report type schema markup present in Google Schema Trst Tool and it has datePublished Markup. So please disable the output of Report type schema.
Thanks!
Forum: Plugins
In reply to: [WP Last Modified Info] Any options for gravity form pages?If you want to edit multiple form and upon editing automatically change the update date of multiple pages, you can use this code following:
add_action( 'gform_after_save_form', 'lmt_update_modified_info_on_form_update', 10, 2 ); function lmt_update_modified_info_on_form_update( $form, $is_new ) { $newdate = date( 'Y-m-d H:i:s', current_time( 'timestamp', 0 ) ); $args = array( 'post_modified' => $newdate, 'post_modified_gmt' => get_gmt_from_date( $newdate ), ); if ( $form['id'] == 1 ) { // change 1 with this id: http://prntscr.com/mzl1ju $args['ID'] = 24; } elseif ( $form['id'] == 2 ) { $args['ID'] = 26; } if( isset( $args['ID'] ) ) { // Update the post into the database wp_update_post( $args ); } }Thanks!
Forum: Plugins
In reply to: [WP Last Modified Info] last modified date doesnt appear in search resultsHi @atakken
<meta property=”og:updated_time” content=”2019-01-25T12:32:22+00:00″ />
<meta property=”article:published_time” content=”2018-12-12T16:15:00+00:00″ />
<meta property=”article:modified_time” content=”2019-01-25T12:32:22+00:00″ />This part is for Facebook OG, not for Google.
Here you can see an item ‘CreativeWork’ is showing in the right panel ( ignore the left panel as it is the just codes of your website ) and there an item ‘dateModifief’ is already created by this plugin. Now just wait for some days to reindex by Google.
Thanks!
Hi @atakken
I have checked you post:
https://masterpieceskinrestoration.com/thread-lift/But there is no last modified date showing on frontend. Replace Post Meta option just replaces the post published date with modified date on frontend if you have enabled post meta display. But I think you have kept disable the post published date ( now showing only category and author name ).
Schema> Enable JSON-LD Schema Markup> I DID enable JSON-LD Markup
Schema> Select Post Types for JSON-LD Markup> I added posts & pagesHave you cleared your cache? If not please clear it and check it again on structured data tool.
Thanks!
Forum: Plugins
In reply to: [WP Last Modified Info] last modified date doesnt appear in search resultsHi @samoscieno
Your theme does not support schema structure.
Activate Enhanced Schema Support or Enable JSON-LD Schema Markup (recommended) from plugin settings and wait upto re indexing by Google.
Thanks!
Forum: Plugins
In reply to: [Simple Posts Ticker - Easy, Lightweight & Flexible] EventsHi @jward222002
Update this plugin to the latest version i.e. 1.0.3 and add this code to the end of your active theme’s functions.php file:
function spt_post_ticker_todays_post( $args ) { $today = getdate(); $args['date_query'] = array( array( 'year' => $today['year'], 'month' => $today['mon'], 'day' => $today['mday'], ), ); return $args; } add_filter( 'spt_ticker_custom_query', 'spt_post_ticker_todays_post', 10, 1 );Thanks!
Hi @anefarious1
Please read this: https://wordpress.org/support/topic/jason-ld-vs-inline-micro-data/
Thanks!
Forum: Plugins
In reply to: [WP Last Modified Info] Last Modified date not showing on GoogleYour theme does not support schema structure.
Activate Enhanced Schema Support or Enable JSON-LD Schema Markup (recommended) from plugin settings and wait upto re indexing by Google.
Thanks!
Forum: Plugins
In reply to: [WP Last Modified Info] excludeIt is possible. Go the the post edit page and check the checkbox “Disable the Last Modified Info Output” and save post.
Thanks!
Forum: Plugins
In reply to: [WP Last Modified Info] Any options for gravity form pages?Add this code to the end of your themes’s functions.php file:
add_action( 'gform_after_save_form', 'lmt_update_modified_info_on_form_update', 10, 2 ); function lmt_update_modified_info_on_form_update( $form, $is_new ) { if ( $form['id'] == 1 ) { // change 1 with this id: http://prntscr.com/mzl1ju $newdate = date( 'Y-m-d H:i:s', current_time( 'timestamp', 0 ) ); $args = array( 'ID' => 24, // change 24 with this: http://prntscr.com/mzl19u 'post_modified' => $newdate, 'post_modified_gmt' => get_gmt_from_date( $newdate ), ); // Update the post into the database wp_update_post( $args ); } }Hope this will do what you want. Thanks!
I actually don’t know why Google does not fetch last modified info from your website. You can do one thing, enable JSON-LD Markup from plugin settings and wait some time for Google’s result.
Thanks!
Forum: Plugins
In reply to: [WP Last Modified Info] Any options for gravity form pages?I have tested this plugin with Gravity Forms by creating a form and inserting that from via http://prntscr.com/mz49lf this option and everything works fine from my end.
Thanks!
Forum: Plugins
In reply to: [WP Last Modified Info] Hide Last Modified Info on Arconix FAQ Plugin PostsHi @testcouch
Select faq from this drop down and save settings. It will enable option in FAQ edit page to disable output of Last Modified Info on FAQs. http://prntscr.com/mz44jo
Thanks!