Hi,
i’ve added this code to functions.php file in theme folder. I need to put a Disqus comments only on one page (ex. Comments), which use a fullwidth page template, so i must change other pages template to pages with sidebar. And i have an error:
Warning: Cannot modify header information - headers already sent by (output started at /wp-content/themes/volt/functions.php:476) in /wp-includes/pluggable.php on line 876
Line 876 of pluggable.php:
header("Location: $location", true, $status);
}
endif;
Any ideas what’s wrong?