I would like to know if there's a way to place a small ad or adsense on user blogs by default?
I would like to know if there's a way to place a small ad or adsense on user blogs by default?
Yes, hardcode it in the theme files.
I forget the file name (Single browser window on a locked down terminal so I can't do a lookup) but you can also add it in to the wp_header function. Someone post the name of the file please. It's in the wp_includes subdirectory.
Hello I've tried google adsense widget by Mike Smullin, Gadsense by Otto, and mightyadsense. All three doesn't seem to work with WPMU ???
Do we have to insert ads manually in each of the themes?
Could somebody give me an idea how to code the function for adsense?
<?php
function() {
<!-- some codes here to make adsense work? -->
}
?>
Um, just hardcode it into the theme, and forget about it.
No functions, no mess. Just drop it where you want it.
The adsense widget on the WPMU plug-in download page is a scary one, it appears to work as the ads show up, but doesn't because the individual's settings are not saved so it displays them as blank, which I'm sure Google isn't going to complain about at all.
I don't get it. What's so difficult about hard coding a few lines into a theme? Then you can even blend it and make it fit into the theme. To save some work or time? With all the time wasted on this topic, peeps could have already stuck it in their theme and been done with it. lol
I have added adsense to my themes--just as lunabyte said, by hardcoding it. It is the easiest, as well as the quickest way to do it. When designing your themes, have this planned out ahead of time...it will save you even more time because you wont have to go back and edit all of your themes.
Yep.
And if you want to offer ad-less themes, you can wrap the ad code in an if statement. I usually try to follow a basic philosophy: KISS. Short for, Keep It Simple Stupid. lol
See, I am not smart enough for that...LOL. I just create an identical theme without the ads...LOL. Well, that is what I was going to do. But now, that I got a hold of the premium deal--and it is operational, I am gonna try that statement.