[resolved] Plugins won't coexist (5 posts)

  1. jonasll
    Posted 4 years ago #

    Hi all!

    I am using these 2 plugins:

    HTML Page Sitemap

    SyntaxHighlighter Evolved

    When activating SyntaxHighlighter, HTML Page Sitemap won't render anymore (no output created).

    Any idea as to why this may happen?

    It's weird because I'd assume these aren't really playing in the same space...

    Help is appreciated!

    Have a good day!

  2. 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! :(

  3. jonasll
    Posted 4 years ago #


    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!

  4. No problem. :)

  5. Angelo Mandato
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic