Markdown support for portfolio items

Hi there,

I’d like to add support for writing in Markdown when composing my portfolio items using Jetpack. I read the instructions on the Jetpack website but I’m confused as to where I should add the line of code that they indicated:

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

where ‘product’ would be the custom post type used.

Please help! Thanks.

Hey,

You can add any custom code at theme`s function, but don’t forget to use the Child theme: https://theme.co/apex/forum/t/setup-how-to-setup-child-themes/57

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.