adding code to functions.php file gives back a blank white webpage
-
Hi, I’ve tried to customize jetpack plugin adding this code for changing share social buttons
function jptweak_remove_share() { remove_filter( 'the_content', 'sharing_display',19 ); remove_filter( 'the_excerpt', 'sharing_display',19 ); if ( class_exists( 'Jetpack_Likes' ) ) { remove_filter( 'the_content', array( Jetpack_Likes::init(), 'post_likes' ), 30, 1 ); } } add_action( 'loop_start', 'jptweak_remove_share' );
but when I load the functions.php modified file it gives back a blank white page.
The same happened when I tried to add this codeif ( ! isset( $content_width ) ) $content_width = 800;
for customizing galleries width.
I can’t understand where is the mistake.
Someone can help me, please?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘adding code to functions.php file gives back a blank white webpage’ is closed to new replies.