Add additional data-nosnippet attributes
What the heck is wrong with Google?
This commit is contained in:
parent
567b6d6968
commit
aceeb11cd3
@ -231,9 +231,9 @@ function fictioneer_comment_form_args( $defaults = [], $post_id = null ) {
|
||||
// Build arguments
|
||||
$class_container = 'comment-respond fictioneer-respond';
|
||||
$class_form = 'comment-form fictioneer-respond__form' . ( empty( $toolbar ) ? '' : ' _toolbar' );
|
||||
$comment_notes_before = empty( $oauth_links ) ? '' : '<div class="fictioneer-respond__form-before-form"><div class="left">' . fcntr( 'log_in_with' ) . '</div><div class="right">' . $oauth_links . '</div></div>';
|
||||
$comment_notes_before = empty( $oauth_links ) ? '' : '<div class="fictioneer-respond__form-before-form" data-nosnippet><div class="left">' . fcntr( 'log_in_with' ) . '</div><div class="right">' . $oauth_links . '</div></div>';
|
||||
$logged_in_as = sprintf(
|
||||
'<div class="logged-in-as fictioneer-respond__form-before-form"><div class="left">%s</div></div>',
|
||||
'<div class="logged-in-as fictioneer-respond__form-before-form" data-nosnippet><div class="left">%s</div></div>',
|
||||
sprintf(
|
||||
fcntr( 'logged_in_as' ),
|
||||
$profile_link,
|
||||
|
@ -615,7 +615,7 @@ function fictioneer_chapter_paragraph_tools() {
|
||||
$can_comment = ! get_post_meta( get_the_ID(), 'fictioneer_disable_commenting', true ) && comments_open();
|
||||
|
||||
// Start HTML ---> ?>
|
||||
<div id="paragraph-tools" class="paragraph-tools">
|
||||
<div id="paragraph-tools" class="paragraph-tools" data-nosnippet>
|
||||
<div class="paragraph-tools__actions">
|
||||
<?php if ( get_option( 'fictioneer_enable_bookmarks' ) ) : ?>
|
||||
<button id="button-set-bookmark" type="button" class="button">
|
||||
@ -677,7 +677,7 @@ function fictioneer_chapter_suggestion_tools() {
|
||||
}
|
||||
|
||||
// Start HTML ---> ?>
|
||||
<div id="selection-tools" class="invisible suggestion-tools">
|
||||
<div id="selection-tools" class="invisible suggestion-tools" data-nosnippet>
|
||||
<button id="button-add-suggestion" type="button" class="button button--suggestion">
|
||||
<i class="fa-solid fa-highlighter"></i>
|
||||
<span><?php _e( 'Add Suggestion', 'fictioneer' ); ?></span>
|
||||
|
@ -15,7 +15,7 @@ defined( 'ABSPATH' ) OR exit;
|
||||
|
||||
?>
|
||||
|
||||
<div id="tts-interface" class="tts-interface hidden" data-show-settings="false" data-regex="<?php echo esc_attr( FICTIONEER_TTS_REGEX ); ?>">
|
||||
<div id="tts-interface" class="tts-interface hidden" data-show-settings="false" data-regex="<?php echo esc_attr( FICTIONEER_TTS_REGEX ); ?>" data-nosnippet>
|
||||
<div class="tts-interface__wrapper">
|
||||
<div class="tts-interface__controls">
|
||||
<button id="button-tts-play" type="button" class="button play">
|
||||
|
@ -123,7 +123,7 @@ get_header( null, $header_args );
|
||||
data-link="<?php the_permalink(); ?>"
|
||||
data-title="<?php echo esc_attr( $bookmark_title ); ?>"
|
||||
data-story-title="<?php echo esc_attr( $bookmark_story_title ); ?>"
|
||||
hidden>
|
||||
hidden data-nosnippet>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user