Sayan Datta
Forum Replies Created
-
Could you please tell me are you using any Plugin for Pinterest Rich Pins?
Hi @dannybrown
Social Warfare and RankMath have the option to remove that:
Social Warfare: http://prntscr.com/mtoqi7
Rank Math: Rank Math Menu > Titles & MetaBut Another plugin which adds duplicate code to head but I could not identify it.
My opinion is, keep Rank Math output enabled, otherwise it may harm your SEO. Disable Meta Tag output of Social Warfare and the other plugin.
Thanks!
Hi
Go to this URL: https://developers.facebook.com/tools/debug/sharing/?q=https%3A%2F%2Fwww.mentalhealthandme.ca%2Fdepression-in-numbers%2F
View this screenshot: http://prntscr.com/mto2fv. Here you can see the duplicate meta tags added to the head.
Example: As you can see in that list, ‘og:url’ tag is repeated 3 times, You need to keep only one tag.
Probably, RankMath, Social Warfare and another one plugin add this codes 3 times.
Thanks!
Forum: Plugins
In reply to: [WP Last Modified Info] Show ‘Last updated date’ below H1Hi @sallywp
Try to use this:
function flatsome_posted_on() { $time_string = '<time class="entry-date published" datetime="' . esc_attr( get_the_date( 'c' ) ) . '">' . esc_html( get_the_date() ) . '</time>'; $type = 'Posted on '; if ( function_exists( 'get_the_last_modified_info' ) ) { if ( get_the_time( 'U' ) < get_the_modified_time( 'U' ) ) { $time_string = get_the_last_modified_info(); $type = 'Updated on '; } } $posted_on = $type . '<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . $time_string . '</a>'; $byline = sprintf( esc_html_x( 'by %s', 'post author', 'flatsome' ), '<span class="meta-author vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '">' . esc_html( get_the_author() ) . '</a></span>' ); echo '<span class="posted-on">' . $posted_on . '</span><span class="byline"> ' . $byline . '</span>'; }Thanks!
Hi @dannybrown
I see that you have many duplicates tags in your website head: https://developers.facebook.com/tools/debug/sharing/?q=https%3A%2F%2Fwww.mentalhealthandme.ca%2Fdepression-in-numbers%2F
Please try to fix this error: http://prntscr.com/mtclju by removing the duplicate tags.
Thanks!
Forum: Plugins
In reply to: [RevivePress – Keep your Old Content Evergreen] How to ‘select all’ tags?Hi @dannybrown
I see that you have many duplicates tags in your website head: https://developers.facebook.com/tools/debug/sharing/?q=https%3A%2F%2Fwww.mentalhealthandme.ca%2Fdepression-in-numbers%2F
Please try to fix this error: http://prntscr.com/mtclju by removing the duplicate tags
Today I made a comment on my site and check “Also post on Facebook” and I do not have any error on my website. It works well without any error message.
Thanks!
- This reply was modified 7 years, 2 months ago by Sayan Datta.
- This reply was modified 7 years, 2 months ago by Sayan Datta.
Forum: Plugins
In reply to: [WP Last Modified Info] Show ‘Last updated date’ below H1Hi
You need to edit your theme files. Add this snippet to the end of your child theme’s function.php file:
function flatsome_posted_on() { $time_string = '<time class="entry-date published updated" datetime="%1$s">%2$s</time>'; $time_string = sprintf( $time_string, esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ) ); $type = 'Posted on '; if ( function_exists( 'get_the_last_modified_info' ) ) { if ( get_the_time( 'U' ) < get_the_modified_time( 'U' ) ) { $time_string = get_the_last_modified_info(); $type = 'Updated on '; } } $posted_on = $type . '<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">' . $time_string . '</a>'; $byline = sprintf( esc_html_x( 'by %s', 'post author', 'flatsome' ), '<span class="meta-author vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '">' . esc_html( get_the_author() ) . '</a></span>' ); echo '<span class="posted-on">' . $posted_on . '</span><span class="byline"> ' . $byline . '</span>'; }This snippet will print Published date by default. If you modify any post, then it will print Modified Date. Don’t forget to configure the plugin settings.
Thanks!
Hi @dannybrown
the comment doesn’t show up in my timeline.
What do you mean by this? Please explain what you actually want.
Thanks!
Hi @xarcell
I am very sure that this plugin does not store any facebook comments to database. You can only see the numbers of facebook commemts made on a post in edit.php page if you have enabled it from plugin settings. This feature just stores facebook commemt count as post meta. This plugin otherwise does not store any data of facebbok commmets to database.
Thanks!
Hi @xarcell
This plugin does not store any data to wordpress database related to facebook comments.
Thanks!
Forum: Plugins
In reply to: [WP Last Modified Info] Jason Ld vs Inline Micro Data (again)Hi @robbie13
Newspapaer theme by default uses Article type schema and datePublished is a mandatory property of Article Schema. So I told you to edit your theme file and disable those markups and you successfully did it. Now please wait upto 7 days as Google will fetch the new schema info very soon and it may take some time to show last modified date in SERPs.
Thanks!
Forum: Plugins
In reply to: [WP Last Modified Info] Jason Ld vs Inline Micro Data (again)Forum: Plugins
In reply to: [WP Last Modified Info] disable editor panelHi @slimmilkduds
You need to edit the plugin file. Go to
wp-content/plugins/wp-last-modified-info/includes/trigger.phpon line 44 and 45 and comment the following line like this: http://prntscr.com/mrwciqThanks!
Forum: Plugins
In reply to: [WP Last Modified Info] Jason Ld vs Inline Micro Data (again)Hi @robbie13
Actually, I have not received any email from your post. Sorry for the late reply.
Go to the file:
wp-content/themes/Newspaper/includes/wp_booster/td_module_single_base.phpon line 661 and edit the file like this: http://prntscr.com/mrw2sg and also edit these lines according to this screenshot: http://prntscr.com/mrw5ns – and clear cache and then let me know.Thanks!
- This reply was modified 7 years, 2 months ago by Sayan Datta.