Jump to content

epicnic

New Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by epicnic

  1. The link about custom post archives is probably the solution I seek.

     

    It's a bit strange that wordpress can show site.com/movies/walktheline as a one-custom-post-page but when you try site.com/movies/ you get nothing as logic as an archive of all your custom posts.

     

    Thanks for the links I'll try this one out later this week and let you know if it worked.

  2. I watched the custom post types (thanks Ben for the nice work) videos and had an idea for my own blog.

     

    I sometimes get asked to write a review on my blog about music, games, books, ...

    When I do such a review it's just a normal blogpost among the others. I had the idea to create 3 custom post types: muziek (music), boeken (books), games. I want to use the custom post types to get a nice overview of everything I reviewed in a certain category (post-type). I want http://epicnic.be/?post_type=muziek to show a overview like in the videos of Ben where It shows just a picture and a rating of the reviewed product (in this case the music).

     

    Now I know i can do this by using an if statement which checks if get_post_type == muziek and tweeking the css to align everything in a grid.

     

    Now my prolbem is that if I include the music post types posts in my normal blog It should still display them like a normal blogpost.

     

    Is there maybe a function I can include in my if statement that could solve my problem?

     

    Note: I didn't use custom taxonomy because my post-types itself are the only "taxonomy" I need.

     

    Edit: I tried to use the is_home() and the is_front_page() function but when I do this on http://epicnic.be/?post_type=muziek it also returns value "1"

×
×
  • Create New...