• 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

dompalmer

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • September 15, 2013 at 9:46 am in reply to: blog page template won't exlude categories #62636
    dompalmer
    Member

    Thanks Brad - I haven't tried it yet but I think you've found the issue

    I got the page working using a workaround. I selected the blog template file and added

    query_args: cat=1 into the custom fields

    this did the trick in the short term - Many thanks again for your help with this one

    September 14, 2013 at 1:40 pm in reply to: blog page template won't exlude categories #62557
    dompalmer
    Member

    Still no joy 🙁 I turned them all off but the problem persisted.

    I must've messed with something here but can't think what.

    Do you think an alternative might be just to set up a new page template to only feed the one category? Seems a bit drastic but...

    September 14, 2013 at 1:10 pm in reply to: blog page template won't exlude categories #62552
    dompalmer
    Member

    The option there is set to 'news' also. It doesn't have any effect on the filter regardless of what I set it to unfortunately

    September 14, 2013 at 12:54 pm in reply to: blog page template won't exlude categories #62548
    dompalmer
    Member

    Well spotted and thanks again for your persistence... however it still hasn't done it. All categories still displaying.

    Could I have altered something else that has had a knock on effect? There's every possibility I've edited something without realising...

    Many thanks

    September 14, 2013 at 12:18 pm in reply to: blog page template won't exlude categories #62545
    dompalmer
    Member

    haha! Ok I now understand...

    I've added your code but am having now luck again I'm afraid - All categories are still displaying http://arete.dominicpalmer.co.uk/latest-news/

    Just to clarify. The category I want to exclusively display is '2' so I have adapted the code here

    Am I missing something??

    Many thanks again

    September 12, 2013 at 3:06 pm in reply to: page template not working #62150
    dompalmer
    Member

    Please ignore this - I may have solved my own problem. I setup a new template file and activated it in WordPress. Then copied the code in. Somehow that worked!

    September 12, 2013 at 1:04 pm in reply to: blog page template won't exlude categories #62135
    dompalmer
    Member

    Thanks for the swift response Brad. I'm afraid it didn't work however. I placed the code into the functions.php file and changed the category from '-007' to '-002' (as my blog category that I want to keep is has the ID of 2) but the page is still displaying all of them.

    Any other thoughts at all would be much appreciated

    Many thanks

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 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