Compare commits

...

2 commits

2 changed files with 9 additions and 4 deletions

View file

@ -289,13 +289,13 @@ function social_post_defautl_thumbnail( $html, $post_id, $post_thumbnail_id, $si
return $html; return $html;
} */ } */
/** /*
* Remove Reddit as oEmbed provider. * Remove provider previews.
*/ *
add_filter( 'embed_oembed_html', 'wp_remove_oembed_providers', 10, 2 ); add_filter( 'embed_oembed_html', 'wp_remove_oembed_providers', 10, 2 );
function wp_remove_oembed_providers( $html, $url ) { function wp_remove_oembed_providers( $html, $url ) {
return '<a href="' . esc_url( $url ) . '" rel="noopener noreferrer" target="_blank">' . esc_html( $url ) . '</a>'; return '<a href="' . esc_url( $url ) . '" rel="noopener noreferrer" target="_blank">' . esc_html( $url ) . '</a>';
}; } */
/* /*
* Add a button to display the number of characters in Title and Content editor; * Add a button to display the number of characters in Title and Content editor;

View file

@ -1215,6 +1215,11 @@ body.home .quote-text p {
#scroll-top-link:hover { #scroll-top-link:hover {
background-color: #000; background-color: #000;
} }
@media only screen and (max-width: 767px) {
.responsive #scroll-top-link {
display: block;
}
}
#top .av_inherit_color a { #top .av_inherit_color a {
text-decoration: none; text-decoration: none;