• I’ve been using Genesis Simple Hooks for years to add scripts to my site.
    Recently, I noticed that several that I had added had disappeared from the editor, but are still loading on the page.

    How do I make them reappear in the editor?
    Where do I go to edit/update those that are loading on the page, but don’t currently appear in the editor?

Viewing 1 replies (of 1 total)
  • Plugin Support Nick C

    (@modernnerd)

    Hi, @thenerdynurse!

    From what you describe, there are at least a couple of possibilities:

    1. The hooks missing from the admin area have been removed from the database, but your edits still appear on your pages due to page caching.
    2. The hooks are still present in your site database but are not appearing in the admin area due to a syntax error in one of the hooks, or a plugin conflict preventing the admin page from loading fully.

    To solve this, you could first find out if the hooks are still present in your database. You’d need to look at the contents of the ‘simplehooks-settings’ option_name in the wp_options table using phpMyAdmin or a similar tool:

    Simple Hooks database entry

    You should check that content to find code you recognise.

    If you don’t find any HTML or PHP you recognise and the hooks are missing from your database, you can either restore them from a backup or recreate them from scratch on the Genesis → Simple Hooks page.

    If the hooks are still present in your database, you could:

    • Check for PHP errors in your server logs.
    • Disable other plugins to see if the hooks load correctly in your admin area.
    • Take a full site backup first, and then attempt to add the hooks again to the Genesis → Simple Hooks page one at a time, using the saved simplehooks-settings contents from your database backup as a guide. If the hooks disappear after editing one of them, there may be a syntax error in the code you just added.
    • This reply was modified 7 years, 3 months ago by Nick C.
    • This reply was modified 7 years, 3 months ago by Nick C.
Viewing 1 replies (of 1 total)
  • The topic ‘Scripts Added Have Disappeared But Still Load’ is closed to new replies.