- This topic has 9 replies, 3 voices, and was last updated 4 months, 3 weeks ago by Tom.
October 7, 2020 at 7:55 am #1476732Matthias
I was looking checked out the video about migrating Hooks to Elements. As far as I understand, there should be a “Legacy Hooks” button in the top, but I only have the “Legacy Headers” button showing up. (I guess this doesn’t have the same content as the Hooks button as it doesn’t show content that I previously added to the old Hooks section (like Google Analytics code).
Is there any way I can access the old Hooks’ content?
Thanks a lot!October 7, 2020 at 9:20 am #1476920LeoStaffCustomer SupportOctober 9, 2020 at 7:31 am #1480402Matthias
There is no “GP Hooks” option in “Appearance > GenereatePress”.
(Still appears in installations on other Websites where Elements isn’t activated yet.)October 9, 2020 at 10:23 am #1480836TomLead DeveloperLead Developer
Do you see a “Hooks” option in “Appearance > GeneratePress”?
You can make sure it’s activated by adding this to your
define( 'GENERATE_HOOKS', true );October 13, 2020 at 6:37 am #1486642Matthias
Adding this line to wp-config.php unfortunately didn’t make “Hooks” appear under “Appearance>GeneratePress”.October 13, 2020 at 9:45 am #1487079TomLead DeveloperLead DeveloperOctober 14, 2020 at 2:16 am #1488121Matthias
Next to the “Elements” headline, I only have the buttons “Add New Element” and “Legacy Page Headers” appearing after adding the line to the wp-config file.October 14, 2020 at 9:52 am #1488923TomLead DeveloperLead Developer
Just testing to this to make sure it’s working as it should.
Added this line to
Now I’m seeing this in “Appearance > Elements”: https://www.screencast.com/t/qwlLKBUBXTN
Do you have any errors in the “Console” tab if you right-click + Inspect the page?October 15, 2020 at 2:47 am #1489947Matthias
I added the aforementioned line to a different location within the wp-config file. This solved the issue. Now Legacy Hooks does appear.
Thanks a lot for the support! 🙂October 15, 2020 at 9:36 am #1490749
- You must be logged in to reply to this topic.