• Hi, I added a video player to genesis_after_content Hook and saved. The code is executing, but when I go back to the field where I entered the code it’s now showing empty. How can this be? It seems the plugin swallowed the code. Has anyone experienced this? In which table are hook values stored in MySQL? Might be the only way to fix this in the backend if the plugin never shows the code again. Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • I can confirm the exact same error. You can see a discussion about it here, including where to find the hook values in MySQL:

    https://wordpress.stackexchange.com/questions/281664/locate-disappeared-code-genesis-framework

    Plugin Support Nick C

    (@modernnerd)

    @marzian Could you share the code you were attempting to save in that field, please?

    When I save to genesis_after_content or genesis_after on my test site, the contents of that field are still visible.

    It only happend after a few days of work, not immediately, and I haven’t been able to understand if there was some specific edit that caused the “lost”. Anyway, it’s just some simple (and validated) JQuery code:

    $(function () {

    // addClass(), removeClass(), hide(), show() etc.

    }

    Plugin Support Nick C

    (@modernnerd)

    Just to follow up here to say I spent some time trying to reproduce this, but couldn’t get content in genesis_after_content or genesis_after to disappear after saving.

    If anyone has sample code that triggers the issue or steps to reproduce it consistently, please feel free to share it here. I’d be happy to look again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Added code to genesis_after_content Hook: it’s executing but has disappeared’ is closed to new replies.