File functions.php DIFETTOSO
-
The FUNCTIONS.PHP file has a code problem at this point, reported by my old but useful editor (see the code )
Every time I have to put in some code … I find it completely busted.
THIS ONLY HAPPENS WITH YOUR THEME … why?_____________________________________________________________
THIS ORIGINAL CODE = PROBLEM = INSTABILITY<?php }
add_action(‘admin_notices’, ‘sydney_toolbox_fa_update_admin_notice’);}
_____________________________________________________________
SO THE FILE BECOMES STABLE AND DOES NOT CANCEL YOUR INTERNAL PHP CODES AND EVEN MY ADDITIONAL CODE CUSTOMIZATIONS<?php }
add_action(‘admin_notices’, ‘sydney_toolbox_fa_update_admin_notice’);}
/* MY CODE */
function example_theme_support() {remove_theme_support( ‘widgets-block-editor’ );} add_action( ‘after_setup_theme’, ‘example_theme_support’ );
/* MY CODE */
add_filter(‘use_block_editor_for_post’, ‘__return_false’);/* MY ADDITIONAL END = SOLVE THE INSTABILITY OF THIS FILE FUNCTIONS OF THEME */
?>____________________________________________________________________________
Have solutiions ? Thanks very much.The page I need help with: [log in to see the link]
- The topic ‘File functions.php DIFETTOSO’ is closed to new replies.