Support » Plugin: Schema & Structured Data for WP & AMP » Placement not working for custom post types

  • We’re testing out your plugin and so far we really like everything. Unfortunately, we are seeing some unexpected behavior and I’m not sure if it has to do with my environment/configuration or the plugin. For example, we created a custom post type, let’s call it “Locations”, and then we created a new Schema Type, Local Business, and set the placement to that post type. However, when you go to create a new page of the Locations post type, while the “Schema & Structured Data on this post” box appears in the page editor, the only option is “Custom Schema”, the Local Business one is nowhere to be seen.

    The secondary issue to this is, when I set this Schema type to global placement, I do see the Local Business tab as an option in the “Schema & Structured Data on this post”, but were I to try to click the “Modify local_business Schema Output” button, no fiels appear, but if I click “Restore to Auto Fetch” then click modify again, the fields appear.

    My guess is something is not getting automatically updated in the database? Thanks in advance!

    EDIT: Something I should add is I can see the SASWP custom field schema and various local_ custom fields if I enable Custom Fields in the page editor, so something tells me your plugin is creating the fields…

  • You must be logged in to reply to this topic.