Support » Plugin: Jetpack by WordPress.com » Markdown support in multiple custom post types

  • I wish to utilise this code snippet to create markdown support for SEVERAL custom post types:

    add_action('init', 'my_custom_init');
    function my_custom_init() {
        add_post_type_support( 'product', 'wpcom-markdown' );
    }

    My question is how to add support for SEVERAL custom page types. My intuition is to repeat add_post_type_support( 'product-2', 'wpcom-markdown' ); etc.

    I broke my site experimenting, so I’m asking for support this time. Thank you!

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.