WordPress.org

Ready to get started?Download WordPress

Ideas

Make available all shortcode in visual editor

  1. itsmeka
    Member

    Is it possible to make available all shortcode in visual editor?

    Most of the theme have similar feature with their branding icons and it is most commonly used feature i think.

    WordPress have a function "add_shortcode" to declare new shortcode and it accept 2 param like following:
    add_shortcode( $tag , $func );

    Ideas:
    ======
    1. Now i think, it can have 3rd param for custom icon function/file url/css class etc.

    2. In wordpress, there should be a method to find available shortcodes.

    3. When it have 3rd param, shortcode will be available in visual editor with custom icon. If third param is not available then show default icon.

    4. When click on a shortcode icon, add some markup for shortcode in visual editor.

    May be following plugin will help you to understand: http://wordpress.org/plugins/shortcodes-ultimate/

    Thanks

    Posted: 11 months ago #
  2. Ipstenu (Mika Epstein)
    Half-Elf Support Rogue & Mod

    You can find all Shortcodes. Review http://codex.wordpress.org/Shortcode_API

    The trick is some are only available under specific circumstances. Also the third option has to be optional, as that's a lot of themes and plugins to edit.

    Someone else had this idea as well fairly recently. The main issue is not all Shortcodes belong in all posts.

    Posted: 10 months ago #
  3. The Shortcode Reference plugin might help you out. It doesn't add icons to the visual editor, but it does provide a list of available shortcodes in the editing screen.

    Posted: 5 months ago #
  4. justinguru
    Member

    thanks Stephanie for nice suggestion. Plugins will be easy to install and configure.

    Posted: 5 months ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    0 Votes
  • Status

    Duplicate of another idea