-
AuthorPosts
-
October 23, 2018 at 11:10 pm #1025678
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??
October 24, 2018 at 3:06 am #1025741Hey tonyshanks,
Have you ensured that the posted have the same tags?
Best regards,
Jordan ShannonNovember 1, 2018 at 11:32 pm #1028964This reply has been marked as private.November 2, 2018 at 3:21 pm #1029169Hi,
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 ShannonNovember 2, 2018 at 5:21 pm #1029229I added this to the bottom of functions.php, and it broke the theme.
November 2, 2018 at 5:31 pm #1029231This reply has been marked as private.November 2, 2018 at 6:10 pm #1029251Hi,
Add this to quick css:
aside #categories-3 .cat-item.cat-item-49{ display:none!important; }Best regards,
Jordan ShannonNovember 2, 2018 at 9:40 pm #1029340This reply has been marked as private.November 5, 2018 at 4:36 pm #1029955Just following up here. Please send a fix.
November 5, 2018 at 7:17 pm #1029999Hi,
Please provide a link to the page made to display posts from cat 49.
Best regards,
Jordan ShannonNovember 6, 2018 at 4:00 am #1030158This reply has been marked as private.November 7, 2018 at 2:15 am #1030675HELP!!!!!!!!!! Need this done, please.
November 8, 2018 at 4:56 am #1031085Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.
