Fatal error, trying to add function to function .php using code snippet
-
so i installed the plugin code snippets and i tried adding this function;
function fullframe_child_theme_setup() {
// Used for Featured Content, Featured Grid Content and Archive/blog Featured Image
add_image_size( ‘fullframe-featured-content’, 400, 225, true); // used in Featured Content Options Ratio 16:9
}
add_action( ‘after_setup_theme’, ‘fullframe_child_theme_setup’, 11 );when i activated the code it gave me this fatal error and now i cant get to my dashboard.
Fatal error: Cannot redeclare fullframe_child_theme_setup() (previously declared in /home/calclaua/public_html/wp-content/plugins/functions.php:15) in /home/calclaua/public_html/wp-content/plugins/code-snippets/includes/snippet-ops.php(446) : eval()’d code on line 4
The topic ‘Fatal error, trying to add function to function .php using code snippet’ is closed to new replies.