Community Support Forums — WordPress® ( Users Helping Users ) — 2011-05-19T16:20:28-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=6490 2011-05-19T16:20:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6490&p=15414#p15414 <![CDATA[Re: Help... I uploaded a new theme and now things are weird.]]>

Yes, there are a plugin to add the Google Analytics code, some themes include that option as well, or Sam suggests you can edit footer.php in your theme and add it right before the </body> tag.

Statistics: Posted by Cristián Lávaque — May 19th, 2011, 4:20 pm


]]>
2011-05-19T16:12:19-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6490&p=15409#p15409 <![CDATA[Re: Help... I uploaded a new theme and now things are weird.]]>
DagiB wrote:
Ah yes, there is some code there...
next question.. Where would I put the google analytics code then? it is supposed to go into the header of the index file.. I am sure there is a plug in for that :o)



Hi..try footer.php before the body closing tag

Sam

Statistics: Posted by drbyte — May 19th, 2011, 4:12 pm


]]>
2011-05-19T13:52:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6490&p=15396#p15396 <![CDATA[Re: Help... I uploaded a new theme and now things are weird.]]> Statistics: Posted by DagiB — May 19th, 2011, 1:52 pm


]]>
2011-05-19T13:52:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6490&p=15395#p15395 <![CDATA[Re: Help... I uploaded a new theme and now things are weird.]]> next question.. Where would I put the google analytics code then? it is supposed to go into the header of the index file.. I am sure there is a plug in for that :o)

Statistics: Posted by DagiB — May 19th, 2011, 1:52 pm


]]>
2011-05-19T11:14:58-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6490&p=15378#p15378 <![CDATA[Re: Help... I uploaded a new theme and now things are weird.]]>

You seem to have some spaces or newline before the opening PHP tag <?php at the beginning of file brainapps.eu/index.php. The space is an ouput to the browser, but later in the script headers are trying to be sent, but headers have to go before output.

Just make sure the <?php is the very first thing in that file, that should solve it.

Statistics: Posted by Cristián Lávaque — May 19th, 2011, 11:14 am


]]>
2011-05-19T09:00:09-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6490&p=15366#p15366 <![CDATA[Help... I uploaded a new theme and now things are weird..]]>
I used the plugin to create some protected pages, and then changes the theme (actually I updated the theme in Artisteer) but now instead of redirecting to the Membership options page I get this error:

"Warning: Cannot modify header information - headers already sent by (output started at /homepages/5/d176041184/htdocs/brainapps.eu/index.php:2) in /homepages/5/d176041184/htdocs/brainapps.eu/wp-includes/pluggable.php on line 897"

Any IDeas would be greatly appreciated...
I changed back to the old theme, but get the same issue... :(


Cheers,
Dagmar

Statistics: Posted by DagiB — May 19th, 2011, 9:00 am


]]>