WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Plugins won't coexist

[Resolved] Plugins won't coexist

Viewing 4 replies - 1 through 4 (of 4 total)
  • It’s the other plugin’s fault. Dashes aren’t allowed in shortcode names.

    When my plugin registers the [html] shortcode, WordPress gives the
    [html-sitemap] shortcode to my plugin for processing due to the dash.

    Edit their plugin and remove the dash and it’ll work fine. 🙂

    I’ve updated the Codex to reflect that dashes shouldn’t be used. It was actually using a dash in the example! 🙁

    Woah!

    Such a simple fix, and it works beatifully.

    Glad this has been added to the codex, that way some headaches will be saved 😉

    Thanks Alex, and great work with the plugins (I use quite a few that you have built)

    Have a good day!

    No problem. 🙂

    I’m fixing html-sitemap plugin to use html_sitemap and htmlsitemap as shortcodes. I’m leaving html-sitemap for backwards compatibility and will link to this thread in the readme so folks know why it was changed.

    I even named the plugin with a dash based on the shortcode example having a dash, I assumed back in 2009 that was recommended way of naming shortcode plugins.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Plugins won't coexist’ is closed to new replies.
Skip to toolbar