Community Forums › Forums › Archived Forums › General Discussion › Include / Exclude Category on Blog Page
Tagged: categories
- This topic has 7 replies, 5 voices, and was last updated 5 years, 8 months ago by
tonyadams1969.
-
AuthorPosts
-
July 26, 2017 at 11:36 am #209601
William
MemberHi, everyone.
My wife uses the Elegance Pro theme and would like to have two Blog pages. One just for a specific category (Journal) and another for every category except her Journal category.
I don't see a way to do this through the theme interface. Do you have a recommendation how we can create the pages with the included/excluded categories that she desires?
Thank you for any help.
–William
http://williambeem.comJuly 27, 2017 at 1:38 pm #209644Victor Font
ModeratorIt's easy with Genesis. This will get you started: https://victorfont.com/use-query_args-filter-wordpress-posts/
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?May 14, 2018 at 11:55 am #219847XWrecon
ParticipantGenesis Ver 2.6.1
Showcase Pro ver 2.0.2I tried using you recommendations from your post to include one one category on the "/blog" page:
I created a custom field "query_args" with the value "cat=10" on the /blog page but when I updated the page the other category was still showing on the page.
FYI: I did not use quotes as instructed and I viewed the updated page in Incognito window in Chrome.
I know the post is from 2014 so wondering if there is a different solution to use with the most current version of Genesis.
If I need to make a separate thread for this let me know.
May 14, 2018 at 3:07 pm #219853Victor Font
ModeratorI still use the query_args technique. It works with the Genesis framework and Studio Press themes.
The theme you are using, Showcase Pro, is not a Studio Press theme. It is a community marketplace theme by http://designbybloom.co. It's possible the build something into the theme that conflicts with the way query_args works with Studio Press themes.
Community marketplace developers support their themes directly. As the creators, they will be most familiar with the theme and be able to provide you with the best support. I suggest you contact the Bloom support team.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?May 14, 2018 at 8:53 pm #219880AnitaC
KeymasterThe query_args work just fine on Showcase Pro, as well as the Genesis Sample. I already replied to our ticket on Bloom.
Need help with customization or troubleshooting? Reach out to me.
May 15, 2018 at 6:30 am #219900XWrecon
ParticipantThanks everyone for your assistance!
Since I am using the static page settings looks like I need some custom code to make the /blog page exclude a category. Will do some searching on the forum, maybe someone will chime in here with a code snippet.
May 15, 2018 at 11:56 am #219920AnitaC
KeymasterSince this has been fixed off the forum, can you mark this resolved. If you need further assistance. Start a new thread.
Need help with customization or troubleshooting? Reach out to me.
July 27, 2019 at 5:45 am #492619tonyadams1969
MemberHi Victor, I’m grateful for your article regarding the query_args approach.
On my Blog page, I’ve created a custom field to exclude two blog categories:
query_args
cat=-52,-53However it’s not working for me (Genesis, Authority Pro) - the blog page is continuing to show all categories.
Do you know of any issues with the Authority Pro theme?
Thanks, Tony (Melbourne, Australia)
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.