• Resolved 09eric09

    (@09eric09)


    I have my instagram feed on my home page, any time I click the “Load More” button it opens a new blank tab in my browser (about:blank). Is there a fix for this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter 09eric09

    (@09eric09)

    I’m on Version 2.4.6.

    Plugin Support Smash Balloon Joel

    (@joelsmashballoon)

    Hey @09eric09,

    This is likely due to a function in your theme or a plugin you have installed that is causing this behaviour. Are you able to send us a link to the page where you are displaying the page so that we can take a look at this issue first hand?

    Many thanks.

    Thread Starter 09eric09

    (@09eric09)

    Sure, here is the link, the instagram feed is on the home page:

    https://35.206.106.199/~ecoclea2/

    • This reply was modified 4 years, 2 months ago by 09eric09.
    Plugin Support Smash Balloon Joel

    (@joelsmashballoon)

    Hey @09eric09

    Thank you for the additional information. I can see that there is some custom jQuery code on your website being loaded that redirects all links to a new window by adding an event listeners to all ‘a’ elements. If this is performed by a plugin, I suggest changing the plugin or creating an exception for our plugin if that is possible. The code is at the bottom of the page, and is as follows;

    <!--external links in new window-->
    <script type="text/javascript">
    //<![CDATA[
    jQuery(document).ready(function($) {
    $('a').each(function() {
    var a = new RegExp('/' + window.location.host + '/');
    if(!a.test(this.href)) {
    $(this).click(function(event) {
    event.preventDefault();
    event.stopPropagation();
    window.open(this.href, '_blank');
    });
    }
    });
    });
    //]]>
    </script>

    Let me know if there is anything else I can assist you with.

    Thread Starter 09eric09

    (@09eric09)

    No that should do it, thanks for the help.

    Plugin Support Smash Balloon Joel

    (@joelsmashballoon)

    Hey @09eric09

    You’re welcome! Let us know should you have any issues in the future and we will be happy to assist.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Clicking the “Load More” button opens a new blank tab.’ is closed to new replies.