ThemeShaper Forums » Thematic

[closed]

How to exclude one post category (portfolio) from the rest of the site

(5 posts)
  • Started 3 years ago by tupisac
  • Latest reply from 4rederick
  • This topic is not resolved
  1. Dear forum users,

    I'm creating a site with a child of the great thematic theme. It's going to be a prepress related blog along with my portfolio. Here's the link: http://www.kubawu.pl/

    I'm using WP 3.01 and thematic 0.9.6.2. I know how to handle HTML+CSS (well, sort of) but PHP is a new thing for me, so I have used google a lot to get to this stage. Now I don't know how to continue, so please if you could just nod me in the right direction...

    Site structure:
    - Home (single page set as home)
    - Prepress blog (single page - set as index for posts)
    - Portfolio (single page with separate template and own set of posts)
    - Contact info.

    Navigation:
    - Menu on top with four main pages
    - sidebar and footer widgets with prepress blog categories, recent posts etc.
    - Teasers from prepress blog in home page content.

    Goals:
    1. I want to insert portfolio content as posts.
    2. I want to separate and exclude portfolio posts from the rest of the site (searches, archives, navigation widgets etc.).

    Point 1 seemed easy, I've added a custom loop to the portfolio template which displays posts from selected category. Now I'm stuck on point 2. I've tried with custom php widget, but it only sorts out the navigation and needs plugin (trying to be as "default" as possible).

    What's the proper and simple way of achieving such a goal? Is category sufficient for that or should I start looking for different solutions?

    Posted 3 years ago #
  2. I am doing the same thing and I posted a similar thread. Have you figured it out? I want to do that in my child tehme, without making any changes to the standard Wordpress installation files...

    Posted 3 years ago #
  3. you can achieve this with categories but creating a 'custom post type' for portfolio would save headaches.
    you familiar with setting up custom post types?

    Posted 3 years ago #
  4. this does seem ideal for custom post types. devin has a lot of info on them at his site

    http://wptheming.com/2010/08/how-to-make-an-events-custom-post-type/
    http://wptheming.com/2010/07/custom-post-type-resources/

    and wp3.1 (beta but due out soon) supports post type archives out of the box

    Posted 3 years ago #
  5. Tupisac, would you mind me asking how you achieved the Point 1 you referred to? I'm trying to create a page that just calls posts from one category, but unsure where to alter the code, in my page-template.php file, or in functions.php ...

    Posted 3 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.