Stuff that caught my eye
Filed Under (wordpress) by serge on August-14-2006

I made a minor update to a handy plugin that its author, Jason Goldsmith, has not updated it since 2004. This simple plugin allows to add text (adsense javascript for example) before a post. Now it works with Wordpress 2.0 and above

Files:


taras on September 9th, 2006 at 5:16 am #

Here are instructions on how to use this plug in to show adds in the beatutiful Sublime Glued Ideas Wordpress Theme
These instuctions will be similar for other themes, you just want to remove the styling. (ie. style=”margin-bottom:10px;margin-top:-10px;”)

To use it:
1. ftp moosecandy.php to your plugins directory
2. go in Administrator->Plugins Editor & Select Moosecandy
3.
Replace
$candy[1] = ‘The Moose is Loose!’;
$candy[4] = ‘Is that REALLY an almond?’;

With this
$candy[1] = ‘

‘;
$candy[4] = ‘

‘;

4. Click Update File
5. Activate the Moosecandy Plugin
6. There is no 6

This is already appropriately styled to look perfect, but you can change it ofcourse
you can see it in action at Succesful Aging Forum Blog

I hope you find this helpful.
Taras

Snagglepuss on February 26th, 2007 at 5:03 am #

Hi, I was wondering if there is any possible way to include the conted BEFORE the post. That is before the post title instead of between it and the post content as it is now.

Thanks
Snagglepuss

serge on February 27th, 2007 at 12:05 am #

Hi Snaglepuss
I think it can be done but it might be tricky before the post. Placing after the body of the post and before the post footer is easy. It would look almost the same. Do you want me to do that?

Cheers
Serge

Snagglepuss on March 4th, 2007 at 8:44 pm #

Sure, sounds good. Or if you could put it after the post footer that would be even better. Would make them look like they were inbetween posts like I was looking for :)

serge on March 5th, 2007 at 2:26 pm #

I have started working on a completely new plugin that would allow to do the stuff that you are talking about. Placing inserts between the messages might require template change. It seems to be unavoidable because Wordpress does not have a hook for processing the gap between messages on a  page…

serge on March 6th, 2007 at 3:25 pm #

Hi Snagglepuss
I have written a new plugin called WPCandy that does what you are asking about. Take a look at http://serge.mankovski.com/wpcandy for the plugin and install instructions… your are first to know about this thing… Check it out and tell me what you think…. Blog about it if you like it, OK ?

Cheers
Serge

You must be logged in to post a comment.