Last active
November 15, 2017 16:31
-
-
Save dartiss/1735a14c83bda534339311dc0364e155 to your computer and use it in GitHub Desktop.
Do not add any context below each Jetpack Related Post
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'jetpack_relatedposts_filter_post_context', '__return_empty_string' ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This simple filter will remove the context below each (normally it will say why it's shown, for example it's in the same category). I remove this because I don't use categories but it still displays this as the context reason.
Add to your theme's
functions.php
.