Commit Graph

4 Commits

Author SHA1 Message Date
Philip M. Hofer (Frumph) 1b31062590 new function comicpress_display_comic_image() which you can pass a string "archive,rss,mini,comic" whatever order you want to try first, as well as can pass boolean use thumbnail which will check if the post has a thumbnail image if so use that and bypass the other thumbs
echo comicpress_display_comic_image("rss,comic", true);
is a valid usage, will check if there's a thumbnail for the post and use that, otherwise check the rss directory for an image, if can't find that, default to the comic directory.

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2010-01-02 10:49:59 -08:00
Philip M. Hofer (Frumph) a8a94eef46 Better Query for LatestThumbnailWidget.inc
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-30 03:57:23 -08:00
Philip M. Hofer (Frumph) 0c271311b5 thumbnail change - comic post thumbnails will not display above the post for the comic post, the thumbnail is now used as an alternative for the latest thumbnail widget, if has_thumbnail the latest thumbnail widget will display that thumbnail inside the widget.
the_widget('ComicPressLatestThumbnailWidget','title=Latest Comic&onlyhome=true');

New option in the thumbnail 'onlyhome' will allow someone to have the thumbnail only display in on the homepage if widget enabled, off it will display everywhere it's placed.

Since it's a widget it can be used in site design for placement of an alternate image to the comic i.e. lfgcomic

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-26 08:06:56 -08:00
Philip M. Hofer (Frumph) e8f665c721 Deleting Deprecated files, moved widgets to .inc (most)
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-21 15:07:40 -08:00