Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1338307

    Having an issue where coding text is appearing randomly on our website, and I cannot seem to figure out a cause or a solution. You can view some of this mystery text here:

    Scroll below, it occurs very randomly below some of the grid blocks. The text looks like this:
    !function(){“use
    strict”;window.addEventListener(“message”,
    (function(e){if(void…

    Been having this issue for months, and I’ve tried everything I can to solve it. Any help would be so appreciated thanks!

    #1338333

    Hi ChristineGerman,

    Thanks for giving us admin access.
    I can’t find the cause for the issue however the workaround to fix the issue is to put some text in the Excerpt field of the post that it is showing (I have tried it on few posts).
    Hope this information helps.

    Best regards,
    Nikko

    #1338340

    I don’t think this really helps us, because we don’t actually want any additional text appearing there. We want just the headline, author, and date. Is there anyone else on the team that could take a look? we’ve had this issue with the theme for a while now, and it really doesn’t look good on our site.

    Thanks.

    #1338465

    Hi,

    I do not see the problem, but I have a server error 500 – see private content:

    Checking the web: https://developers.google.com/tag-platform/tag-manager/web

    Looks different now. Maybe you are using an old implementation ?

    Best regards,
    Günter

    #1338528

    I’ve corrected some of them using the workaround by putting a “&nbsp” in the Excerpt field, but it seems pretty silly to be doing that moving forward, when there is obviously a problem going on with the theme.

    You can see the problem still occuring here…it happens quite frequently so we would be having to correct a ton of posts:

    #1338574

    Hi ChristineGerman,

    It seems the posts that are returning those weird texts are posts that contain iframes with scripts in them, to fix this, I have added this code in your child theme’s functions.php:

    function new_avf_post_slider_entry_excerpt($excerpt, $prepare_excerpt, $permalink, $entry ) {
    	$excerpt = $entry->post_excerpt;
    	return $excerpt;
    }
    add_filter('avf_post_slider_entry_excerpt', 'new_avf_post_slider_entry_excerpt', 10, 4);

    Please review your site.

    Best regards,
    Nikko

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