Title: wjohnson's Replies | WordPress.org

---

# wjohnson

  [  ](https://wordpress.org/support/users/wjohnson/)

 *   [Profile](https://wordpress.org/support/users/wjohnson/)
 *   [Topics Started](https://wordpress.org/support/users/wjohnson/topics/)
 *   [Replies Created](https://wordpress.org/support/users/wjohnson/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/wjohnson/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/wjohnson/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/wjohnson/engagements/)
 *   [Favorites](https://wordpress.org/support/users/wjohnson/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Custom Post Type Archive Page](https://wordpress.org/support/topic/custom-post-type-archive-page/)
 *  Thread Starter [wjohnson](https://wordpress.org/support/users/wjohnson/)
 * (@wjohnson)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/custom-post-type-archive-page/#post-1756978)
 * Well, with a great deal of time, I figured out that I could use a lot of
 *     ```
       if (Is_post_type()==Books){
       //Do Something
       }
       ```
   
 * This was effective, but I’ll bet there’s a much more elegant way of making a 
   custom post type archive page. I hope this helps if someone stumbles upon this!

Viewing 1 replies (of 1 total)