• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Include / Exclude Category on Blog Page

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Include / Exclude Category on Blog Page

This topic is: not resolved

Tagged: categories

  • This topic has 7 replies, 5 voices, and was last updated 3 years, 10 months ago by tonyadams1969.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • July 26, 2017 at 11:36 am #209601
    William
    Member

    Hi, 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.com

    http://carefree unner.com
    July 27, 2017 at 1:38 pm #209644
    Victor Font
    Moderator

    It'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 #219847
    XWrecon
    Participant

    Genesis Ver 2.6.1
    Showcase Pro ver 2.0.2

    I tried using you recommendations from your post to include one one category on the "/blog" page:

    Use query_args to Filter WordPress Posts

    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 #219853
    Victor Font
    Moderator

    I 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 #219880
    Anita
    Keymaster

    The query_args work just fine on Showcase Pro, as well as the Genesis Sample. I already replied to our ticket on Bloom.


    Love coffee, chocolate and my Bella!

    May 15, 2018 at 6:30 am #219900
    XWrecon
    Participant

    Thanks 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 #219920
    Anita
    Keymaster

    Since this has been fixed off the forum, can you mark this resolved. If you need further assistance. Start a new thread.


    Love coffee, chocolate and my Bella!

    July 27, 2019 at 5:45 am #492619
    tonyadams1969
    Member

    Hi 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,-53

    However 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)

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble