Tagged: 

Viewing 2 reply threads
  • Author
    Posts
    • #5046
      kplaneta
      Member

      Hi,

      I’m on WP 4.3.1 and Piklist 0.9.9.6

      Is there a way to remove the “add shortcode” from above the WYSIWYG editor? No matter what I do in Piklist Settings, it still stays right there.

      I’m also looking for some documentation for adding shortcodes? Is there any or am I missing something?

      Have a nice day

    • #5047
      Steve
      Keymaster

      @kplaneta– There is currently no way to remove it, but we will address in the next release. Not the best user experience when there are no shortcodes registered.

      The built-in demos come with shortcodes. You can view the files here:
      piklist/add-ons/piklist-demos/parts/shortcodes/

      Let us know if you need any help

    • #6982
      bort
      Member

      for documentation purposes:

      the action that registers the button can be removed with

      
      remove_action( 'media_buttons', array( 'piklist_shortcode', 'media_buttons' ), 100 );
      

      e.g. in your themes function.php file

      this is true for me on piklist 0.9.9.9, the add_action statement can be found on the initialisation of Piklist_Shortcode Class, so if something changes one could look up the (possibly) changed naming to call the remove_acion

Viewing 2 reply threads
  • You must be logged in to reply to this topic.