• Resolved jordanton

    (@jordanthegreat)


    This plugin only works for the standard Posts and Pages post types. I was able to add it to my Custom Post Types by editing the bbhcuschma_add_custom_schema_meta_box() function.

    Since editing a plugin is never a good idea as my changes will get wiped in the next update, could you please include functionality to control from the admin panel which custom post types the meta box gets added to?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Md Jahid Shah

    (@jahidshah)

    Thank you for the feedback and for sharing your solution.

    You are absolutely right that editing plugin files directly isn’t ideal, since those changes would be overwritten during updates. Adding support for Custom Post Types through a configurable option in the admin panel is a good suggestion and would make the plugin more flexible for different site setups.

    I will look into adding a setting in a future update so users can select which post types (including custom ones) should display the BBH Custom Schema meta box.

    Thanks again for pointing this out and for contributing to improving the plugin.

    Plugin Author Md Jahid Shah

    (@jahidshah)

    Thank you again for your suggestion and for sharing your workaround earlier.

    I have implemented this feature in the latest update of the plugin. You can now choose which post types should display the BBH Custom Schema meta box directly from the plugin settings. This includes support for Custom Post Types as well.

    By default, Posts and Pages remain enabled so existing users won’t experience any disruption, and previously added schema data will remain untouched.

    If your site uses Custom Post Types, you can simply enable them from the plugin settings to start adding schema there as well.

    Thanks again for the helpful feedback, it helped improve the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.