dwebdeveloper
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Removing Godaddy BannerGRX3,
also once it would used with this script in a plugin for WP “as is” it just gives me these errors at top:
Warning: Cannot modify header information – headers already sent by (output started at /home/content/p/d/n/XXXXX/html/mywebsitedomain/wp-content/plugins/adremoverCSS.php:12) in /home/content/p/d/n/XXXXX/html/mywebsitedomain/wp-includes/functions.php on line 830
AND
arning: Cannot modify header information – headers already sent by (output started at /home/content/p/d/n/XXXXX/html/mywebsitedomain/wp-content/plugins/adremoverCSS.php:12) in /home/content/p/d/n/XXXXX/html/mywebsitedomain/wp-includes/functions.php on line 831
Any suggestions here at this point?
Forum: Fixing WordPress
In reply to: Removing Godaddy BannerGRX3,
I had a question it seems there a little bit missing from your php script of code you posted such as a opening or closing tag of php… could you send me this script which has the finished or proper tags and where they should actually be at? Only because I am still learning the syntax and framework that WordPress works off of regarding action hooks and i bearly got to glance about what they are for 2 mins.
You posted:
function godaddy_style(){
?>
<style type=”text/css”>
#conash3D0
{
display:none;
}
</style>
<?php
}
add_action(‘admin_footer’,’godaddy_style’);
add_action(‘wp_footer’,’godaddy_style’);
add_action(‘login_head’,godaddy_style’);