michaelthulin
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Fixing WordPress
In reply to: Cannot modify header informationwas trying out some code for a plug-in tutorial.
I have tried to copy Akismet into the topmenu.php and I still get the same error therefore I thought that it actually was a problem.But even tho I installed a plugin with following comment:
/* Plugin Name: test Plugin URI: http://xxx.xx Description: Test description Version: 1.0 Author: Michael Thulin Author URI: http://xxx.xx */(nothing more)
and the same error still appeared – why’s that?
Forum: Fixing WordPress
In reply to: Cannot modify header information<?php /* Plugin Name: test Plugin URI: http://xxx.xx Description: Test description Version: 1.0 Author: Michael Thulin Author URI: http://xxx.xx */ if (!class_exists("testclass")) { class testclass { function testfunction() { function addHeaderCode() { ?> <!-- thulin Was Here --> <?php } } } } if (class_exists("testclass")) { $dl_pluginSeries = new testclass(); } if (isset($dl_pluginSeries)) { add_action('wp_head', array(&$dl_pluginSeries, 'addHeaderCode'), 1); } ?>Forum: Fixing WordPress
In reply to: Cannot modify header informationI am aware of that.
But as I said – even when I copy one of the other existing plugins,
the problem is still there.
Viewing 3 replies - 1 through 3 (of 3 total)