Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Problem with menu after last update

  • Hi,
    I updated my staging website for the GP Premium last version and now when Ic click on my menu, the website open on new tab
    You can check it on https://dragui.com/ and compare the comportement with my production website on https://www.ville-draguignan.fr/
    Can you say me what’s going on ?
    Best regards
    Willy

  • Hi there,

    Which specific menu item has this issue?

    I clicked couple of them, didn’t see the issue.

    Let me know 🙂

  • Hi,
    Click on red MENU, I can’t upload a screenshot

  • Hi Willy,

    I’ve checked your staging site at https://dragui.com and found that the issue is caused by an inline JavaScript function attached to the menu button as shown in the Screenshot.

    The button includes the following onclick attribute:
    onclick="javascript:window.open('https://dragui.com/#', '_blank', 'noopener'); return false;"

    This code is forcing the menu button to open a new tab when clicked.

    You can also confirm this by viewing the page source (Right-click → View Page Source) and locating the onclick line. (Screenshot)

    To fix this, you’ll need to remove the onclick attribute that is causing the issue.

    If the issue remains, feel free to share the staging site login details so we can take a closer look for you.

    Let me know how it goes, we’re here to help.

  • Hi,
    Oh yes, I see this code. However, this code isn’t on my production website.
    It’s possible that generatepress write this code? Where I can check it?

  • I don’t think GP adds that code.
    Can you try disabling all plugins except GP Premium to see if the issue is gone?

    Let me know 🙂

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