I need one that places a blurb of text at the bottom of my page (not the footer). I’ve been looking over for hours to no avail. Also, I need it to be displayed only at the front page and not repeat on the other pages.
I tried Moosecandy and WPCandy but they both don’t work, and I’m not sure either if they’d work given that most of the in-called Ad Unit plugins display things in all pages and I just need it to display once.
First: if you are making something and need to deactivate a working WPCandy for some reason, don’t do it! (but if you came here, something was messed up…). If you did so, activate it again.
The WPCandy creates and maintains a nem table in the mySQL database: wp-wpcandy. When you activates it, the table is created. When you deactivate the plugin, the table is dropped. For some reason WP 2.5 don’t let it create this table again after the deactivation. The foreach error is a ‘i can’t find anything in the table’ error, ’cause there is no table at all!
The solution is manually create a new empty table. You will need some SQL admin or a SQL console to send a SQL command like this:
CREATE TABLE wp_wpcandy
id INT NOT NULL AUTO_INCREMENT,
anchor TINYTEXT NOT NULL,
position TINYTEXT NOT NULL,
I got this one from the WPCandy code, but used a MySQLAdmin from my BlueHost cpanel.
After you created the table, the WPCandy will work again, and the foreach error will dissapear when you creates a new candy.