• Hi
    I have added a custom post type with Custom UI and added a test post.

    After logging out and visiting the page it is now showing up in the queue and the type is is_single.

    So to create a rule for this specific style of post I thought I could click New Rule in the CSS Tab and select the custom post type for speciual treatment.

    Clicking Add New Rule and Conditional Tag does not list the new custom post type in the list. How do I get the new post type in the list to select this set of posts for specific rules?

    Do I need to disable and re-enable the plugin each time a new custom post type is registered or use some other method please.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    sorry for not answering sooner @slipperx , I had not received a notification-mail of your question here.

    normally you should automatically see the CPT listed in the list of conditional tags, but the plugin does filter on public post types that are not builtin, so maybe you need to change how the CPT was registered?

    hope this helps,
    frank

    Thread Starter slipperx

    (@slipperx)

    Hi Frank

    I registered it simply using the Custom UI plugin. I would look at how it was registered but I think the plugin which is fairly widely used just registers it with some functions in the functions file.

    Is there some other registration needed for your plugin to pick it up as I am a little in the dark with what else I need to do?

    Thanks
    Ian

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    afraid I haven’t looked into “custom UI”-plugin yet, I’ll put it on my list of things to check out.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Post Types’ is closed to new replies.