Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've seen many people who write for similar problem, i.e. to remove a custom post type on the search box for "link to existing content" on the tinyMCE editor of Wordpress.

I've a reversed problem, I can see ONLY pages and posts.

I cannot see custom post types I've created, all with public set to true, publicly_queryable set to true, capability_type set to true, show_in_nav_menus set to true, and so on.

I've used the plugin "B09 Link to Existing Content", without results.

Why? What can I do? Maybe the problem is on declaration of the custom post type? I've created a php file included into functions.php of my theme. Is this the problem? Does I need to load custom post type in a different manner?

share|improve this question
    
The best way to ask question is to include the codes you already have tried? –  Maruti Mohanty Oct 24 '13 at 19:16
    
capability_type is not a boolean, use post or page (if you don't have custom capabilities). Or maybe the theme or some plugin is removing the CPT, and it's up to you to spot which one. –  brasofilo Oct 24 '13 at 19:44
    
Sorry, you're right! I've set capability_type to "page". what do you mean with some plugin is removing CPT? I can see all my CPT on backend, and frontend too. The theme is twentytwelve modded. –  KLODEnet Oct 24 '13 at 20:05
    
Ok... I've found the issue. WooCommerce haven't selected the custom post type for translation available posts. Thanks for you suggestion on plugin. –  KLODEnet Oct 24 '13 at 20:39
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.