WordPress.org

Ready to get started?Download WordPress

Forums

WP Supersized
Custom theme, "where used" checkboxes not responding (1 post)

  1. the911s
    Member
    Posted 1 year ago #

    Hi,

    I'm developing a custom WP theme from scratch and having issues integrating the plugin. Within the CMS, the plugin is appearing on pages and standard posts, but not my custom post types. How do I get the plugin to appear on custom post pages? In the plugin settings, I can see all the pages and post templates I've created but checking them does not add Supersized to the CMS pages (actually, the results of the checkboxes seems to be inconsistent in general). Do I need to edit my theme support for custom posts in my functions.php file?

    add_action( 'init', 'create_post_type' );
    function create_post_type() {
    	register_post_type( 'project',
    		array(
    			'labels' => array(
    				'name' => __( 'Projects' ),
    				'singular_name' => __( 'Project' )
    			),
    		'public' => true,
    		'supports' => array(
        	  	'title',
        	  	'editor',
        	  	'excerpt',
        	  	'trackbacks',
        	  	'custom-fields',
        	  	'revisions',
        	  	'thumbnail',
        	  	'author',
        	  	'page-attributes',
      	  ),
    		'has_archive' => true,
    		'taxonomies' => array('post_tag','category'),
    		)
    	);

    http://wordpress.org/extend/plugins/wp-supersized/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.