Forum Replies Created

Viewing 6 replies - 16 through 21 (of 21 total)
  • Forum: Plugins
    In reply to: Escaping shortcode
    Thread Starter splotch

    (@splotch)

    Be careful switching between the Visual and HTML editors, as this will revert the [ to [ and cause your shortcode to be parsed.

    Make sure your theme calls the wp_footer() function right before the ending body tag. Otherwise, the tracking code isn’t rendered on your site.

    ex.

    <?php wp_footer(); ?>
    </body>
    </html>

    I would love to see a how-to as well. I know the functionality is all there, it is just a pain trying to figure out how to make it work. Having just begun to add this functionality to a plugin I’m developing, I could really use a tutorial or something to hint at how the whole thing works.

    Right now I’m trying to parse through some plugins that add media buttons to see how they work, but it is a tedious process of trial and error.

    Forum: Plugins
    In reply to: Escaping shortcode
    Thread Starter splotch

    (@splotch)

    I think I’ve finally dug up the solution. Instead of using the “[” and “]” characters, replace them with their respective html entity counterparts.

    &#91; => [
    &#93; => ]

    Hope that helps anyone else out there banging their head on the same problem.

    Forum: Plugins
    In reply to: Escaping shortcode
    Thread Starter splotch

    (@splotch)

    Apparently not too many people know how to escape shortcodes in a post. If anyone does know, please post it. I’m sure I’m not the only person looking for this.

    Thread Starter splotch

    (@splotch)

    That was the magic button. I vaguely remember setting that option way back when I first setup WordPress on my site.

    They should probably disable this now that you can toggle between HTML and Visual modes. That, or just have it start in HTML mode by default, but still have the tab for Visual mode if you want to switch.

    Thanks a lot for the help! I never would have found that check box on my own.

Viewing 6 replies - 16 through 21 (of 21 total)