How to change post type with YAML properties
-
I’m using stackedit to type my posts, from there I publish to wordpress, it gives me the options to set tags, categories and other properties using YAML
I like to be able to change the post type from the. I tried to use
post_type: "quote"but nothingThe blog I need help with is: (visible only to logged in users)
-
Hi there, custom developing is outside the scope of support we can offer here, but for what it’s worth, I searched for working examples and they did not include quotes around the post type. For example:
post_type: pageor
post_type: productI’d also recommend trying with page first, rather than a custom type, just to rule out whether it’s a problem with your YAML, or perhaps an issue with that particular CPT.
If that doesn’t work, would you be willing to reach out in the developer forums?
https://wordpress.org/support/forum/wp-advanced/
- The topic ‘How to change post type with YAML properties’ is closed to new replies.