Black Friday sale! Get 25% off WPSP Pro! Discount automatically applied at checkout.

[Resolved] Mysterious '–>' showing up

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Mysterious '–>' showing up

  • This topic has 7 replies, 2 voices, and was last updated 9 months ago by Tom.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #13378
    Matt
    Participant

    Hi,

    On my homepage (https://heretotravel.com), I appear to have some mysterious ‘–>’ showing up below my WPShowPosts inserts. I can’t suss out where they might be coming from. Do you have any ideas?

    Many thanks as always!

    #13405
    Tom
    Keymaster

    Hmm, very strange. Does it happen if you create a new empty page and add nothing but the WPSP shortcode?

    #13418
    Matt
    Participant

    No, but it does appear on other pages where the shortcode is already in use (drafts). I’ve tried removing elements from the page but it doesn’t make any difference. There are no hooks on the page. I’ll try deactivating some recent plugins to see if that makes any difference.

    #13456
    Tom
    Keymaster

    It looks like an HTML comment that’s broken. Perhaps there’s a broken comment inside the actual content of that page above or below the shortcode?

    #13478
    Matt
    Participant

    I’ve noticed in the source code that HTML comments produced by WPShowPosts is coming up like:

    <!--<! -- .wpsp-content-wrap -->-->

    Any ideas why that might be?

    While I have you, is the aim to fold this plugin into a premium version of GenerateBlocks?

    #13490
    Tom
    Keymaster

    That’s strange, can you try this?:

    1. Open `wp-content/plugins/wp-show-posts-pro/modules/cards/cards.php

    2. Find this line: echo '</div><! -- .wpsp-content-wrap -->';

    Replace it with this:

    echo '</div><!-- .wpsp-content-wrap -->';

    Does that fix it?

    That’s not the plan at this time.

    #13509
    Matt
    Participant

    Yep, that’s fixed it. Many thanks as always.

    #13602
    Tom
    Keymaster

    Fixed in the next version of the plugin as well, thanks for the heads up! 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.