Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter nlauretano

    (@nlauretano)

    Nice! Thank you so much. I was registering my custom post types wrong. Actually, I’m glad it was my fault. WordPress rocks! heres the code i ended up using if anyone else has this problem. thanks again.

    add_action('init', 'services_register');
    
    	function services_register() {
        	$args = array(
            	'label' => __('Home Services'),
            	'singular_label' => __('Home Services'),
            	'public' => true,
            	'show_ui' => true,
            	'capability_type' => 'post',
            	'hierarchical' => false,
            	'rewrite' => true,
            	'supports' => array('title', 'editor', 'thumbnail')
            );
    
        	register_post_type( 'home_services' , $args );
    	}

    Same thing here. Deactivated all plugins, smae issue. Clean install, same problem.

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