[Support request] Switching to GeneratePress broke tons of my links

Home Forums Support [Support request] Switching to GeneratePress broke tons of my links

Home Forums Support Switching to GeneratePress broke tons of my links

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1024615
    Ashley

    Hi,

    I just switched from Divi to GeneratePress. I built the site on a staging site provided by my host, Siteground.

    The problem is, there’s tons of problems with my links.

    Some don’t work at all. You can see in this post. https://www.ashleyabroad.com/2018/03/21/what-to-wear-to-oktoberfest/

    Also, some of the links open as ConvertKit, which is my email marketing service. You can see here if you try to click ManRepeller – https://www.ashleyabroad.com/2017/11/30/travel-accessory-anti-haul/

    Thirdly, none of them open in a new tab, which is a problem. With Divi all links opened in a new tab.

    Do you have any advice? Have you seen problems with links in this way before?

    Should I restore my old site and redo the migration? Please help.

    #1024632
    Leo
    Staff
    Customer Support

    Hi there,

    – The GP social share plugin (not developed by us) is covering up the links as you scroll down the page which is why they don’t work:
    https://www.screencast.com/t/L8BE563rbH2m

    – Not quite sure if I understand. I don’t see a link “ManRepeller” in the linked page?

    – The links themselves don’t have the correct markup to open in new tabs:
    https://www.screencast.com/t/cddNgAm1lI4A

    It needs to have target="_blank" in the HTML:
    https://www.thesitewizard.com/html-tutorial/open-links-in-new-window-or-tab.shtml

    I’m not sure why those links would open in a new tab in Divi but GP doesn’t/can’t change your existing HTML markup/content at all – those things are handled by WordPress itself. If you switch to a twenty series WordPress theme, those links won’t open in a new tab either.

    Let me know 🙂

    #1024714
    Ashley

    Thanks for your help. I uninstalled the GP social share plugin which fixed the link problem.

    One other thing – the Generate Press author box is showing up as blank, as you can see here – https://www.ashleyabroad.com/2018/03/21/what-to-wear-to-oktoberfest/

    How do I fix this?

    #1024726
    David
    Staff
    Customer Support

    Hi there,

    the Liberte Site uses the Hook Element:

    https://docs.generatepress.com/article/hooks-element-overview/

    Go to Appearance > Elements.
    First thing to do is to remove the Hook for the Social Share icons – as the shortcode provided by that plugin is still being output.

    Then look for the Author Box Element, edit this and tell me if the Execute PHP is enabled or if there is an error or warning being displayed

    #1025545
    Ashley

    Hi David,

    Thanks for getting back to me. The Author Box Element said this: Unable to execute PHP as DISALLOW_FILE_EDIT is defined.

    What should I do?

    #1025549
    Ashley

    Also, there are social icons underneath the post, underneath the related articles. How do I get rid of those? You can see if you scroll down: https://www.ashleyabroad.com/2018/03/21/what-to-wear-to-oktoberfest/

    #1025577
    David
    Staff
    Customer Support

    1. Ok so your server is set to disallow file editing. You can add the PHP snippet here to allow it work in just the Hooks:

    https://docs.generatepress.com/article/generate_hooks_execute_php/

    Adding PHP:
    https://docs.generatepress.com/article/adding-php/

    2. In Apparance > GP Social Settings – go to the settings tab and check the Disable Hook option.

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