Markdown – imported Woocommerce products
-
Hi Jeremy –
I’m trying to find out a little more about how Jetpack Markdown interprets posts containing markdown.
What I’m seeing is when I import Woocommerce products which contain markdown, the markdown gets converted to HTML on import. The products display correctly, but when I try to edit the imported products I have to edit them as HTML instead of markdown.
Granted, the markdown I enter when editing manually is being interpreted correctly.
I tried both with and without the following code:
add_action('init', 'my_custom_init'); function my_custom_init() { add_post_type_support( 'product', 'wpcom-markdown' ); }
but it makes no difference (and I recall reading that this is no longer necessary for Woocommerce products, but I could be mistaken).
My feeling is that it’s something to do with do_action calls, and so I might have to look at disabling some of these when importing but would appreciate any insight/links/suggestions you could provide.
- The topic ‘Markdown – imported Woocommerce products’ is closed to new replies.