WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Removed unwanted tags from results page output

[Resolved] Removed unwanted tags from results page output

  • Pixelatic
    Member

    @davidhealy

    Without using JavaScript to remove them from the DOM, how can I remove unwanted code tags from the results page output, e.g. turn the following:

    <h2 class="wppl-h2">
    <code>No results were found.</code>
    </h2>

    into

    <h2 class="wppl-h2">No results were found.</h2>

    I can’t see where the plugin adds these, and I don’t quite understand why they are there to begin with. Help appreciated.

    http://wordpress.org/extend/plugins/geo-my-wp/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Eyal Fitoussi
    Participant

    @ninjew

    Hi David,
    I really have no idea why the code tags are showing in you results page but they are not in the original code of the plugin.
    can you post a link to your site?

    Pixelatic
    Member

    @davidhealy

    Hi, it’s a local development sandbox which isn’t publicly accessible, but here’s a screenshot showing the issue.

    I’m seeing this behaviour with no other plugins active, using the Twenty Twelve theme, so it doesn’t seem to be either a plugin conflict or a theme issue…

    Pixelatic
    Member

    @davidhealy

    Hi, I looked at the results page via the WordPress admin and discovered the shortcode had been wrapped in code tags by the WYSIWYG editor:

    <code>[wppl_results]</code>

    I’m not sure how they ended up there (maybe a copy/paste thing) but I removed them and this has resolved the issue :o)

    Plugin Author Eyal Fitoussi
    Participant

    @ninjew

    Awesome.
    And Thank you for the update.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Removed unwanted tags from results page output’ is closed to new replies.