Title: Custom post types problem
Last modified: August 19, 2016

---

# Custom post types problem

 *  [epicnic](https://wordpress.org/support/users/epicnic/)
 * (@epicnic)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/custom-post-types-problem/)
 * 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](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?
 * Note1: I didn’t use custom taxonomy because my post-types itself are the only“
   taxonomy” I need.
 * Note2: 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](http://epicnic.be/?post_type=muziek)
   it also returns value “1”

The topic ‘Custom post types problem’ is closed to new replies.

## Tags

 * [custom post type](https://wordpress.org/support/topic-tag/custom-post-type/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [epicnic](https://wordpress.org/support/users/epicnic/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/custom-post-types-problem/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
