• Resolved anuj9122

    (@anuj9122)


    hi

    i am using this code. its open in pop up not in new tab

    • This topic was modified 1 year, 11 months ago by anuj9122.

    The page I need help with: [log in to see the link]

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

    (@anuj9122)

    Firstly i want first download button link to lower download button. Is it possible?. Secondly when you click on download button its open in popup window but not in new tab

    Plugin Author Abidemi Kusimo

    (@kusimo)

    @anuj9122 you can use a shortcode like this to make the button open in a new window.

    [quick_download_button title="Download" open_new_window="true" url_external="https://google.com"]

    You need to set open_new_window to true. The first question will need to be rephrased (I didn’t get what you are trying to achieve).

    Thread Starter anuj9122

    (@anuj9122)

    this code not working. please try your self

    [quick_download_button  title="Download" color_bg="#ffc107" open_new_window="true" wait=15 msg="Please wait 15 seconds" url_external="https://google.com"]
    Thread Starter anuj9122

    (@anuj9122)

    when you add wait and msg. its open in popup not in new tab.

    Plugin Author Abidemi Kusimo

    (@kusimo)

    @anuj9122, sorry that you are still having issues with the plugin. I copied the code above and paste it into the block editor using the shortcode block and it works for me. You can also use the classic editor.

    The quick download button does not have a pop-up. It works 2 ways, it can open the link in the same window (current tab) or open in a new tab.

    If you don’t want the link to open in a new tab, please change the open_new_window value to “false” like below:

    [quick_download_button title=”Download” color_bg=”#ffc107″ open_new_window=”false” wait=3 msg=”Please wait 15 seconds” url_external=”https://google.com”%5D

    This will open the link in the same window (current tab). Please let me know if you are still having issues. If possible, send me some screenshots narrating the issue for better understanding.

    Thank you for trying the plugin.

    Plugin Author Abidemi Kusimo

    (@kusimo)

    @anuj9122 I think I got what you mean by pop-up. Some browsers will block downloads when trying to open a new tab. The message the browser will give will look something like “Pop up blocked“. The user can either unblock this but for a better user experience, you don’t want this to happen.

    The solution is to ‘not open in new tab’ as you suggested. To achieve this, you need to set the shortcode open_new_window to false as mentioned above. I hope this solves the issue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘no open in new tab’ is closed to new replies.