• Resolved Argentum

    (@argentum)


    Tried to add a instagram feed to a Siteorigin Headline widget. The images show, but I see a load of code. The “Fix Load More Error” is checked.

    I use Premium plugin, from today.

    Load More
    "; var yes_ajax = "yes"; var fts_d_name = "H_hashtag"; var fts_security = "f6c640fd76"; var fts_time = "1506090756"; jQuery.ajax({ data: { action: "my_fts_fb_load_more", next_url: nextURL_H_hashtag, fts_dynamic_name: fts_d_name, rebuilt_shortcode: build_shortcode, load_more_ajaxing: yes_ajax, fts_security: fts_security, fts_time: fts_time }, type: 'GET', url: "https://sitename/wp-admin/admin-ajax.php", success: function (data) { console.log('Well Done and got this from sever: ' + data); jQuery('.feed_dynamic_classH_hashtag').append(data).filter('.feed_dynamic_classH_hashtag').html(); if (!nextURL_H_hashtag || nextURL_H_hashtag == 'no more') { jQuery('#loadMore_H_hashtag').replaceWith('
    No More Photos
    '); jQuery('#loadMore_H_hashtag').removeAttr('id'); jQuery(".feed_dynamic_classH_hashtaginstagram").unbind('scroll'); } jQuery('#loadMore_H_hashtag').html('Load More'); //	jQuery('#loadMore_< ?php echo $fts_dynamic_name ?>').removeClass('flip360-fts-load-more'); jQuery("#loadMore_H_hashtag").removeClass('fts-fb-spinner'); // Reload the share each funcion otherwise you can't open share option. jQuery.fn.ftsShare(); // We return this function again otherwise the popup won't work correctly for the newly loaded items jQuery.fn.slickInstagramPopUpFunction(); } }); // end of ajax() return false; } ); // end of document.ready }); // end of form.submit
    Load More
    "; var yes_ajax = "yes"; var fts_d_name = "S_hashtag"; var fts_security = "078aea5846"; var fts_time = "1506090755"; jQuery.ajax({ data: { action: "my_fts_fb_load_more", next_url: nextURL_S_hashtag, fts_dynamic_name: fts_d_name, rebuilt_shortcode: build_shortcode, load_more_ajaxing: yes_ajax, fts_security: fts_security, fts_time: fts_time }, type: 'GET', url: "https://sitename/wp-admin/admin-ajax.php", success: function (data) { console.log('Well Done and got this from sever: ' + data); jQuery('.feed_dynamic_classS_hashtag').append(data).filter('.feed_dynamic_classS_hashtag').html(); if (!nextURL_S_hashtag || nextURL_S_hashtag == 'no more') { jQuery('#loadMore_S_hashtag').replaceWith('
    No More Photos
    '); jQuery('#loadMore_S_hashtag').removeAttr('id'); jQuery(".feed_dynamic_classS_hashtaginstagram").unbind('scroll'); } jQuery('#loadMore_S_hashtag').html('Load More'); //	jQuery('#loadMore_< ?php echo $fts_dynamic_name ?>').removeClass('flip360-fts-load-more'); jQuery("#loadMore_S_hashtag").removeClass('fts-fb-spinner');
    // Reload the share each funcion otherwise you can't open share option. jQuery.fn.ftsShare();
    // We return this function again otherwise the popup won't work correctly for the newly loaded items jQuery.fn.slickInstagramPopUpFunction(); } }); // end of ajax() return false; } ); // end of document.ready }); // end of form.submit
    Load More
    ";
    var yes_ajax = "yes";
    var fts_d_name = "p_hashtag";
    var fts_security = "6ad9535f17";
    var fts_time = "1506090754";
    jQuery.ajax({
    data: {
    action: "my_fts_fb_load_more",
    next_url: nextURL_p_hashtag,
    fts_dynamic_name: fts_d_name,
    rebuilt_shortcode: build_shortcode,
    load_more_ajaxing: yes_ajax,
    fts_security: fts_security,
    fts_time: fts_time
    },
    type: 'GET',
    url: "https://sitename/wp-admin/admin-ajax.php",
    success: function (data) {
    console.log('Well Done and got this from sever: ' + data);
    jQuery('.feed_dynamic_classp_hashtag').append(data).filter('.feed_dynamic_classp_hashtag').html();
    if (!nextURL_p_hashtag || nextURL_p_hashtag == 'no more') {
    jQuery('#loadMore_p_hashtag').replaceWith('
    No More Photos
    ');
    jQuery('#loadMore_p_hashtag').removeAttr('id');
    jQuery(".feed_dynamic_classp_hashtaginstagram").unbind('scroll');
    }
    jQuery('#loadMore_p_hashtag').html('Load More');
    //	jQuery('#loadMore_< ?php echo $fts_dynamic_name ?>').removeClass('flip360-fts-load-more');
    jQuery("#loadMore_p_hashtag").removeClass('fts-fb-spinner');
    // Reload the share each funcion otherwise you can't open share option.
    jQuery.fn.ftsShare();
    // We return this function again otherwise the popup won't work correctly for the newly loaded items
    jQuery.fn.slickInstagramPopUpFunction();
    }
    }); // end of ajax()
    return false;
    }
    ); // end of document.ready
    }); // end of form.submit
    
Viewing 4 replies - 1 through 4 (of 4 total)
  • Sorry for the issues. You can only use a plain text widget.

    Thread Starter Argentum

    (@argentum)

    Sure, I removed it. I will give it a go.

    Thread Starter Argentum

    (@argentum)

    Text Widget produced the same result unfortunately. I can try again some day if you want. Best regards.

    For the future since you’re a paid user, be sure to email us at [email protected] for faster support.

    Try unchecking the fix loadmore option and also in the text widget for the shortcode make sure you’re checking the option to prevent p tags from happening. Let me know how it goes.

    • This reply was modified 7 years, 2 months ago by damon7620.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Throws a load of code under the images’ is closed to new replies.