• Resolved shamajay

    (@shamajay)


    Hi!

    I’m having trouble with an internal error. After I got the message, I went back into my dashboard, selected the complete uninstall option on the plugin, deactivated it, and deleted it. After reinstallation, I attempted to put different snippets in the plugin however, the error is occurring regardless of which code snippets I attempt to input.
    I have also tried to go into safe mode to remove the snippet but none of the snippets I saved and activated are showing up on the code snippets list.
    I edited the wp-config.php file but even in safe mode, the plugin is not showing any snippets and is giving me an internal error.

    I am trying to save this custom CSS code snippet –>

    .footer-widget-area {
    flex: auto;
    min-width: 0;
    display: flex;
    }

    I would appreciate any help you can provide. Please let me know if you require any additional information.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    The current version of Code Snippets does not natively support CSS snippets – instead, you need to wrap it in an action hook:

    add_action( 'wp_head', function () { ?>
    <style>
    .footer-widget-area {
    flex: auto;
    min-width: 0;
    display: flex;
    }
    </style>
    <?php } );

    This should resolve any parse errors you are receiving.

Viewing 1 replies (of 1 total)
  • The topic ‘Internal Error’ is closed to new replies.