ANIga extended

As you can see on the right I just added a “picture-of-the-day” function to ANIga. Usage is pretty straight forward, simply call anigal_show_potd(); somewhere, maybe in your sidebar and you are done.
For saving todays POTD I created a new table.
I’ll forward it to naabster, maybe he’ll add it.
Besides that there’s another new function added to ANIga called anigal_show_image($pid, $before, $after); which can be used to display a certain image wherever one would need it, for example in your daily posts.
All you need is the pid of the image, rest is done automagically.
To be able to execute PHP code in your posts you would need a plugin like exec-php.
If you are interested in the source please leave a comment.
OK, you can grab the diff here.

No Responses yet to “ANIga extended”.

Leave a Reply:

XHTML: You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>