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

  • Resolved jbclements


    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 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.