• Hello,
    I have a question. Is there any action hook or something that I can remove this OSM map generator shortcode from admin post type or custom post type. It would be nice if I can have this functionality.

    thanks
    mamun

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author MiKa

    (@photoweblog)

    Hello,

    WordPress brings a feature to enable and disable metaboxes (eg OSM map shortcode generator).

    At the editor there is [Screen Options] and there you have to disable “WP OSM Plugin shortcode generator”. If you use Gutenberg UI it’s just called [Options].

    Br, MiKa

    • This reply was modified 5 years, 11 months ago by MiKa.
    • This reply was modified 5 years, 11 months ago by MiKa.

    I would also like to see an option (perhaps a setting) to turn OSM ON or OFF for each post type like Pages, Posts etc… it would be easier this way as we have multiple editors.

    Regards,
    David

    • This reply was modified 5 years, 11 months ago by davinian.
    Plugin Author MiKa

    (@photoweblog)

    Hello @mcpmbstu @davinian

    since there are several requests like this I will have a look for a way to provide a list at settings with all existing post types of the site and add a checkbox to disable the shortcode generator.
    Will try to cover it in summer …

    Br, MiKa

    Hi @photoweblog thanks for letting us know – I think that would make things easier to use. Let me know if you need anything testing.

    Regards,
    David

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

The topic ‘Remove map shortcode generator from post type or Custom post type’ is closed to new replies.