Title: Using Plugin with Custom Post Types
Last modified: August 19, 2016

---

# Using Plugin with Custom Post Types

 *  [Erik](https://wordpress.org/support/users/buckycat7/)
 * (@buckycat7)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/using-plugin-with-custom-post-types/)
 * Have something I hope is pretty simple to do. I just want to use a plug in with
   a custom post type. I’m wanting to have a section of our site turned into a wiki
   like resource. So I’m using the plugin WP-Wiki.
 * I dug through the Plugin.php code to find what the function name for the plugin
   was and then registered the post type in the themes function.php and nothing 
   happened.
 * Here is the code:
 *     ```
       add_action('init', 'docs_register');
   
       	function docs_register() {
           	$args = array(
               	'label' => __('Docs'),
               	'singular_label' => __('Docs'),
               	'public' => true,
               	'show_ui' => true,
               	'capability_type' => 'page',
               	'hierarchical' => false,
               	'rewrite' => true,
               	'supports' => array('title', 'editor', 'wordpressWiki_metabox')
               );
   
           	register_post_type( 'docs' , $args );
       	}
       ```
   
 * I was hoping by adding the plugin function ot the supports array would make it
   work but no dice. Am I on the right track with this or is it even possible?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Erik](https://wordpress.org/support/users/buckycat7/)
 * (@buckycat7)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/using-plugin-with-custom-post-types/#post-1553345)
 * So I’m taking it that using plug-ins with custom post types in impossible?
 *  [funghi](https://wordpress.org/support/users/funghi/)
 * (@funghi)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/using-plugin-with-custom-post-types/#post-1553360)
 * Since custom post types are pretty new, many plugins are not ready yet to support
   it. So this is not impossible, just it hasn’t been done!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Using Plugin with Custom Post Types’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [funghi](https://wordpress.org/support/users/funghi/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/using-plugin-with-custom-post-types/#post-1553360)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
