Skip to content
Snippets Groups Projects
Commit 4f34b3c7 authored by Erick Hitter's avatar Erick Hitter
Browse files

Hide Jetpack sharing on all timeline entries

parent 27007c86
No related branches found
No related tags found
No related merge requests found
......@@ -402,6 +402,7 @@ class ETH_Timeline {
if ( ! empty( $content ) ) {
$removed = remove_filter( 'the_content', 'wpautop' );
add_filter( 'sharing_show', '__return_false' );
echo ' <span class="eth-timeline-sep">&mdash;</span> <span class="eth-timeline-body">';
the_content();
......@@ -410,6 +411,7 @@ class ETH_Timeline {
if ( $removed ) {
add_filter( 'the_content', 'wpautop' );
}
remove_filter( 'sharing_show', '__return_false' );
}
?>
</li><!-- .eth-timeline-item#eth-timeline-<?php the_ID(); ?> -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment