ThemeShaper Forums » Thematic


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

(5 posts)
  • Started 11 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:

    I'm using WP 3.01 and thematic 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.

    - 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.

    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 11 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 11 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 11 years ago #
  4. this does seem ideal for custom post types. devin has a lot of info on them at his site

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

    Posted 11 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 11 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.