CSS link creating header errors…
-
I’ve written a little plugin for myself, just putting my custom functions in there for my site. Everything is going well except trying to link CSS files to it.
One of my functions was a standalone file before I decided to create a function for it instead of using INCLUDE. It works as its intended to work, except for the CSS.
<link href="/styles/playerProfiles.css" rel="stylesheet" type="text/css">I started it above the <?php, and I’ve tried to echo it within the function, as well as a couple of other options. In all instances, the CSS works, but it’s creating the header errors below.
Warning: Cannot modify header information – headers already sent by (output started at /public_html/wp-content/plugins/csi_custom.php:2) in /home2/csi/public_html/wp-includes/functions.php on line 6029
Warning: Cannot modify header information – headers already sent by (output started at /public_html/wp-content/plugins/csi_custom.php:2) in /home2/csi/public_html/wp-admin/includes/misc.php on line 1252
Warning: Cannot modify header information – headers already sent by (output started at /public_html/wp-content/plugins/csi_custom.php:2) in /home2/csi/public_html/wp-admin/admin-header.php on line 9
The topic ‘CSS link creating header errors…’ is closed to new replies.