- This topic has 12 replies, 2 voices, and was last updated 2 years, 12 months ago by
David.
-
AuthorPosts
-
December 16, 2022 at 11:48 pm #2464826
Ella
Hello, is it possible to set it so that a category doesn’t show up in a blog section? EG please see here: https://www.selfimprovementspace.com/blog/ I put challenge blog posts in the challenge category and they have a tab on their own. I then want the “blog” page to show all other posts, excluding these. How do I do this please?
Thanks,
EllaDecember 17, 2022 at 7:06 am #2465054David
StaffCustomer SupportHi there,
it requires some PHP see here:
https://docs.generatepress.com/article/exclude-categories-from-posts-page/
December 18, 2022 at 2:31 am #2465758Ella
Hey, thanks for this!
I added with the recommended php plugin however – and activated then purged cache, and it still doesn’t seem to have done anything! Have I added it wrong at all please? https://ibb.co/gJF25L6
Thanks for your help!
EllaDecember 18, 2022 at 5:43 am #2465880David
StaffCustomer SupportWith that code, you have to use the
idof the category.
If you edit a Category then check the URL in the browser it will contain the id.December 18, 2022 at 7:12 am #2465939Ella
Amazing, thank you so much! This works perfectly now 😀
December 19, 2022 at 3:59 am #2466744David
StaffCustomer SupportGlad to hear that!
March 1, 2023 at 4:38 am #2551182Ella
Hi there, I have an issue with this now. Whenever I add posts to my new categories: Self Love, Self Care, Self Improvement or Friendship, they won’t show up on the homepage top bar unless I add them into another original category also: https://www.forgettingfairytales.com
Can you please tell me how I can get these to show… Plus where to edit it again please? As I can’t see an active snippet for me to actually do this… Please see here: https://ibb.co/pbjK16Y
Thanks,
EllaMarch 1, 2023 at 5:27 am #2551231David
StaffCustomer SupportHi there,
is the issue with the magazing grid of 4 posts on the homepage ?
March 1, 2023 at 2:18 pm #2551952Ella
Yep that’s right, that’s where it doesn’t show!
March 2, 2023 at 2:00 am #2552344David
StaffCustomer SupportIn the WP Show Posts, if you edit the list titled: Header
Does that have any specific categories set ?March 22, 2023 at 4:33 am #2576662Ella
Sorry for the delay in replying. I lost where this thread was! Just checked. No it doesn’t have any categories set. Does it need to?
Thanks for your help,
EllaMarch 22, 2023 at 4:35 am #2576665Ella
Oh actually, sorry, I was looking on the wrong site!! Yes it did have some missing and it was missing the categories that the blog posts weren’t showing up in, so now I’ve added these in, they should now show? 😀
March 22, 2023 at 6:21 am #2576783David
StaffCustomer SupportThey should show now – if they don’t then try clearing caches.
-
AuthorPosts
- You must be logged in to reply to this topic.