Support » Plugin: Shortcake (Shortcode UI) » Make “Insert Post Element” the Default in Media Overlay

  • Resolved dmo7


    Hi. Is there any way to make the Shortcake interface “Insert Post Element” the default panel in the Media overlay and have it be selected/highlighted on initial load? Alternatively, is there any way to use a custom “add media” button to launch Shortcake only? We are looking to hide/disable/prevent use of the default WP media options for upload/insert/etc. We want the users to ONLY use shortcake. Thoughts?

    • This topic was modified 3 years, 4 months ago by dmo7.
Viewing 1 replies (of 1 total)
  • Plugin Author goldenapples



    With the latest version (0.7.0), there’s an “Add Post Element” button added to the media buttons, which brings up the Insert Post Element panel in the media frame. We think this will address this issue for most cases.

    If you want to disable this button for any reason, this code will do the trick:

    remove_action( 'media_buttons', array( Shortcode_UI::get_instance(), 'action_media_buttons' ) );

Viewing 1 replies (of 1 total)
  • The topic ‘Make “Insert Post Element” the Default in Media Overlay’ is closed to new replies.