Title: Using Custom Post Type
Last modified: August 21, 2016

---

# Using Custom Post Type

 *  Resolved [jraposon](https://wordpress.org/support/users/jraposon/)
 * (@jraposon)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/using-custom-post-type-1/)
 * Hi,
 * I made a custom post in which I put there all the posts that i needed to display
   using this plugin. Unfortunately, I am not successful with any attempts I made,
   no matter how feasible it can be. I also followed the parameters in WP but still
   failed.
 * **Examples of codes I tried:**
    1.) **category_name=press-media** –> this is 
   the slug of my category. I used this in both Posts and in the custom post type
   i made. But this displays ONLY the posts I made under Posts. 2.) **cat=16** –
   > same thing with #1. 3.) **$args = array(‘post_type’ => ‘press-and-media’, ‘
   orderby’ => ‘post_date’); –> i am trying to access it through _taxonomy parameter_
 * So the question is, in widgets, using the form there (where we input cat=1), 
   how can I access a custom post type?
 * [http://wordpress.org/plugins/cpk-ultimate-archives/](http://wordpress.org/plugins/cpk-ultimate-archives/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [CPK Web Solutions](https://wordpress.org/support/users/cpkwebsolutions/)
 * (@cpkwebsolutions)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/using-custom-post-type-1/#post-4508882)
 * Hi Jraposon
 * Thanks for your message. Unfortunately, I can’t provide full service support 
   for free on such a small plugin. This plugin is the output of a project I worked
   on, and I thought I’d just share it to save others time, but it’s really just
   a starting point, if it doesn’t work then all I can say is sorry. You may need
   to hire a developer to help you troubleshoot and/or modify it.
 * In answer to your question, all I can say is that I see no reason why it wouldn’t
   work, given the correct parameters, but it’s tough to give you a definitive answer
   without spending time analyzing it.
 * What I can say is that the rules you put into the widget get passed directly 
   to wp functions (refer to lines 206 – 216), so you can consult the documentation
   for those functions and/or do your own troubleshooting with different query parameters.
 * Perhaps not the answer you hoped for, but I hope it helps a little at least.
 * Best wishes
 * Paul

Viewing 1 replies (of 1 total)

The topic ‘Using Custom Post Type’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cpk-ultimate-archives.svg)
 * [CPK Ultimate Archives](https://wordpress.org/plugins/cpk-ultimate-archives/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cpk-ultimate-archives/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cpk-ultimate-archives/)
 * [Active Topics](https://wordpress.org/support/plugin/cpk-ultimate-archives/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cpk-ultimate-archives/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cpk-ultimate-archives/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [CPK Web Solutions](https://wordpress.org/support/users/cpkwebsolutions/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/using-custom-post-type-1/#post-4508882)
 * Status: resolved