Creating a blog with specific categories

resolved (4 posts) (2 voices)

  1. KimmersNC
    Member

    Is there a way to specify for the blog page to include only posts that are in both Category A and Category B?

    I have used the shortcode editor and created a page the displays posts in either Category A OR Category B - but what I'd like is to only display posts that are in BOTH Categories, rather than either/or.

    Posted 4 years ago #
  2. Elliott
    Support

    Hello KimmersNC,

    Try our blog shortcodes out, http://mysitemyway.com/docs/index.php/Blog_Shortcode.

    Posted 4 years ago #
  3. KimmersNC
    Member

    Elliot - I am using the blog shortcode - the problem is when I choose more than one category to be displayed, it will list posts listed in either/or those categories. I am wanting to specify that only posts listed in BOTH categories be listed.

    For example - I am using posts to list types of wines. I have categories for 'Red Wines' and 'Dry Wines' and 'White Wines', etc. What I want to show up on the page are posts that are categories with both 'red wines' AND 'dry wines' - as it stands now, some of the 'dry wines' are also white wines - so don't belong on the page listing Dry Red Wines.

    Does that make sense? I want to create interchangeable results using different combinations of the categories.

    Posted 4 years ago #
  4. Elliott
    Support

    We can edit the blog shortcode to do that but it would make it unflexible (it would display the same stuff no matter where you use it).

    What I would do is just create a new category and assign it to posts that are a part of red wine & dry wine.

    Posted 4 years ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme