Time Sensitive – My Plugin is not working
-
Hello my time sensitive deadline is due tomorrow 1/25/2011 if anyone has an suggestions , problems are actually about this plugin code:
This i first what i was told to do:
Take the code below and stick it in a plugin, this removes it on all the sites along with the script-loader.php hack on the forum you should be good to go.
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’);THEN I did and it ends up with these results:
I had a question it seems there a little bit missing from this users php script of code I am trying to use to create a Plugin. Maybe an opening or closing tag in 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.
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?
DWebDev-
The topic ‘Time Sensitive – My Plugin is not working’ is closed to new replies.