- This topic has 14 replies, 4 voices, and was last updated 3 years, 1 month ago by
Tom.
-
AuthorPosts
-
August 12, 2020 at 1:22 pm #1399624
JORGE
Hi, i need to delete the schema created by the theme
“Hatom”-“Hcard”-“SiteNavigationElement”-“Person”
Is there a way to delete it? Thanks a lot!
August 12, 2020 at 1:29 pm #1399630Leo
StaffCustomer SupportHi there,
It’s not possible right now but we’ve added a filter in the next version GeneratePress 3.0 for this.
The alpha should be released in the near future.
Can I notify you in this post when it’s ready to be tested?
Thanks π
August 21, 2020 at 10:11 am #1412989JORGE
Hi, yes please.
August 24, 2020 at 3:17 am #1415729Kumar
can you please notify me too… Thank Kumar.
September 2, 2020 at 3:59 pm #1428454Leo
StaffCustomer Support3.0 has just been released for alpha testing:
https://generatepress.com/generatepress-3-0-a-new-era/Thanks for your patience!
October 15, 2020 at 4:51 pm #1491200JORGE
Hi, sorry i already updated to the new version but I still don’t see how I can remove that schema
October 15, 2020 at 5:59 pm #1491228Leo
StaffCustomer SupportOctober 16, 2020 at 7:35 am #1491957JORGE
Hi, I’m already using them but it doesn’t work.
October 16, 2020 at 10:05 am #1492323Tom
Lead DeveloperLead DeveloperThat’s being added using JSON-LD – it’s likely coming from an SEO plugin you have activated.
October 16, 2020 at 11:42 am #1492433JORGE
Sorry, you’re right, I already fixed it, but “Person” and “Vcard” if generated with GeneratePress, Haton was removed with the solution you suggested. Only “Person” and “Vcard” remain
October 17, 2020 at 11:10 am #1493495Tom
Lead DeveloperLead DeveloperWhich page can I see those on?
October 20, 2020 at 6:32 am #1496933JORGE
October 20, 2020 at 1:42 pm #1497627Tom
Lead DeveloperLead DeveloperTry adding this:
add_filter( 'generate_page_hero_post_date', function() { $time_string = '<time class="entry-date published">%2$s</time>'; if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) { $time_string = '<time class="updated">%4$s</time>' . $time_string; } $time_string = sprintf( $time_string, esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ), esc_attr( get_the_modified_date( 'c' ) ), esc_html( get_the_modified_date() ) ); return $time_string; } ); add_filter( 'generate_page_hero_post_author', function() { global $post; $author_id = $post->post_author; $author = sprintf( '<span class="author"><a href="%1$s" title="%2$s"><span class="author-name">%3$s</span></a></span>', esc_url( get_author_posts_url( $author_id ) ), /* translators: author name */ esc_attr( sprintf( __( 'View all posts by %s', 'gp-premium' ), get_the_author_meta( 'display_name', $author_id ) ) ), esc_html( get_the_author_meta( 'display_name', $author_id ) ) ); return $author; } );
Let me know π
October 20, 2020 at 5:01 pm #1497743JORGE
It works very well, thanks a lot!
October 21, 2020 at 8:47 am #1498621Tom
Lead DeveloperLead DeveloperYou’re welcome π
-
AuthorPosts
- You must be logged in to reply to this topic.