Timeline for Get Registered Custom Post Type to get All Custom Taxonomies
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 1, 2015 at 8:23 | answer | added | mindlogixtech | timeline score: 0 | |
Mar 31, 2014 at 7:15 | vote | accept | M Ali Salim | ||
Mar 31, 2014 at 7:15 | answer | added | M Ali Salim | timeline score: 0 | |
Mar 20, 2014 at 16:36 | comment | added | helgatheviking | I would register your FAQ post type on the init hook. When are you attempting to query the post types? Any time after init should be fine. I would suggest you disable all plugins until you sort this out. | |
Mar 20, 2014 at 13:56 | history | edited | M Ali Salim | CC BY-SA 3.0 |
Added code for Registered Post Type
|
Mar 20, 2014 at 11:13 | comment | added | MBL |
You should be setting '_builtin' => false otherwise you will only be showing the built in post types (Quote Codex: If true , will return WordPress default post types. Use false to return only custom post types.)
|
|
Mar 20, 2014 at 11:09 | answer | added | MBL | timeline score: 0 | |
Mar 20, 2014 at 11:08 | history | edited | M Ali Salim | CC BY-SA 3.0 |
added 35 characters in body
|
Mar 20, 2014 at 11:07 | comment | added | M Ali Salim | Yes, i tried woocommerce plugin which adds custom post types, i tried few themes which have custom post types, still same results. only above 3 post type show up if i do '_builtin' => true | |
Mar 20, 2014 at 10:54 | comment | added | helgatheviking |
Are you sure the custom post types are properly registered? Are they public? What do you get if you just use get_post_types() with no arguments?
|
|
Mar 20, 2014 at 10:36 | history | asked | M Ali Salim | CC BY-SA 3.0 |