WordPress.org

Ready to get started?Download WordPress

Forums

GEO my WordPress
[resolved] Removed unwanted tags from results page output (5 posts)

  1. Pixelatic
    Member
    Posted 1 year ago #

    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/

  2. Eyal Fitoussi
    Member
    Plugin Author

    Posted 1 year ago #

    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?

  3. Pixelatic
    Member
    Posted 1 year ago #

    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...

  4. Pixelatic
    Member
    Posted 1 year ago #

    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)

  5. Eyal Fitoussi
    Member
    Plugin Author

    Posted 1 year ago #

    Awesome.
    And Thank you for the update.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.