Jump to content

Archived

This topic is now archived and is closed to further replies.

lill.ingrid.lill

Filtering posts

Recommended Posts

lill.ingrid.lill

Is it possible to have a certain category of posts to show up on the posts page, another category on a static page, and another in one of the gallery sections?

 

Like, I have the category "books" for the "book" page, but I don't want them to show up as "recent" on the blog page.

I bought the "Filtering" plugin, but it doesn't do what i hoped for. I don't want a new section, I want to control which posts show up in a certain section (like flipper or masonic gallery)

Thanks,

 

Ingrid

Share this post


Link to post
Share on other sites
Danny

HI Ingrid,

 

I am not entirely sure what you're trying to do.

 

When you say "Is it possible to have a certain category of posts to show up on the posts page" do you mean your main blog page? If so, then this is likely possible, but will require custom code. However, not sure why you would want to filter out all other categories just to display a certain category, especially when WordPress already creates a dynamic page for that category.

 

To display a category of posts on a static page, you will likely need to either create a custom section or use a plugin such as Special Recent Posts or MiniLoops.

 

Not sure what you mean by this "and another in one of the gallery sections?"

 

When you say this "Like, I have the category "books" for the "book" page, but I don't want them to show up as "recent" on the blog page." do you mean you do not want your books category posts to show on your blog (Posts page)? If so, then this is something you will need to ask on the WordPress support forums.

 

For me personally, if you want more control or have a specific category that you do not want to be part of your post loop, then I would create that category as a custom post type instead of as a category in your Posts Post type. For more information on custom post types see here - http://codex.wordpress.org/Post_Types

 

Also, this plugin is good for making the whole process of creating custom posts type simple - https://wordpress.org/plugins/custom-post-type-ui/


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
lill.ingrid.lill

Hi Danny, 

thanks for your helpful answer. The plugin works well for what i want, and I found another one to filter out categories from the main blog page.

Best regards

 

Ingrid

Share this post


Link to post
Share on other sites
Danny

No problem, happy to help.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • Lisa Haran
      By Lisa Haran+
      Hi 
      I have a map here http://www.iloveoffset.com/maps/
      I want to add several pointer locations to the map, but when I do they do not appear.
      On this map there are 2 pointer locations and as you can there is only one visible.
      Earlier today I added 7 and could only see 4 so there is something odd going on.
      My theme is up to date
    • clj182
      By clj182+
      Hello,
      I've been having trouble unlocking the template section for past couple of weeks. When I try clicking nothing happens. 
      I've deleted my custom css and removed plugins. Im down to having only the following plugins:
      Akismet
      Contact Form 7
      DMS Professional Tools
      Pagelines Updater
      WooCommerce
      It was working fine before i have no idea what's going on with it.
    • flourishdesignstudio
      By flourishdesignstudio+
      My DMS 2 site http://www.heart-stone.com/ will not save any new custom css... I can still edit templates and publish those but any custom css that I enter never saves.
      All WP files, themes, and plugins are up to date. 
      Any thought about what might be causing this?
    • flourishdesignstudio
      By flourishdesignstudio+
      Is there a way to edit the custom CSS via FTP? I know I can edit the custom code in the Chrome editor but is there a file path I can use to find and edit the CSS directly from our FTP?
      Thanks in advance for the help!
    • nizami
      By nizami+
      Using navbar section with correctly configured WP menu to display main navigation at https://elenaangel.com. 
      All fine in desktop viewport. Menu displays twice in hamburger mode. How to fix this please? 

×