I am using blog posts default editor, and have Show related entries,,, but they are not showing up. Also, How can we get the gravatar/autor bio at the bottom of each blog post??
Hey tonyshanks,
Have you ensured that the posted have the same tags?
Best regards,
Jordan Shannon
Hi,
Were you able to resolve the initial issue of the related posts displaying?
Try this to exclude:
function exclude_category($query) {
if ( $query->is_archive() ) {
$query->set('cat', '-xx');
}
return $query;
}
add_filter('pre_get_posts', 'exclude_category');
Replace the xx (mentioned in line 3 of the above code) with the category ID. Leave the minus ‘-‘ sign in front of the category ID, only replace the xx.
Best regards,
Jordan Shannon
I added this to the bottom of functions.php, and it broke the theme.
Hi,
Add this to quick css:
aside #categories-3 .cat-item.cat-item-49{
display:none!important;
}
Best regards,
Jordan Shannon
Just following up here. Please send a fix.
Hi,
Please provide a link to the page made to display posts from cat 49.
Best regards,
Jordan Shannon
HELP!!!!!!!!!! Need this done, please.
Hi,
Do you want to get rid of that category in the blog page? Please provide the login details in the private field so that we can check the settings. Are you using the advance layout builder for your blog? You may need to use the “avia_post_slide_query” filter to adjust the blog query.
// https://codex.wordpress.org/Class_Reference/WP_Query#Taxonomy_Parameters
Best regards,
Ismael