Commit Graph

586 Commits

Author SHA1 Message Date
Philip M. Hofer (Frumph) a59711c6cb now passing $title_to_use to the comicpress_display_comic_image code so that the title represents what it needs to when using the override post.
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2010-01-02 12:42:28 -08:00
Philip M. Hofer (Frumph) 3ef3b76d25 RSS Feed revamp to use post_thumbnails & the new comicpress_display_comic_image()
can also set that on and off (default: on) in the options

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2010-01-02 11:58:26 -08:00
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) 9e334d8998 cleanup of the register widget area code for the head/foot of each widget placed
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2010-01-02 10:47:24 -08:00
John Bintz 71c30e3008 set storyline info if none exists 2009-12-31 19:59:33 -05:00
Philip M. Hofer (Frumph) 30f3ebea26 part 3 of removing the comicpress-config.php file from being in use, -> done, configuration page made note: blog_postcount is now seperated from the config options and a regular upper level var on the indexoptions.php
currently the vars are being extracted to be the $vars that they were previously so they are backward compatible but would like to move those to be read from $comicpress_options['comicpress_config'][$key] at some point.

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-31 15:32:17 -08:00
Philip M. Hofer (Frumph) fff8d4c5a9 PHP 5 is required for comicpress 2.9, on the dashboard it will give a message stating that an upgrade is necessary and to contact the host.
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-31 15:10:18 -08:00
Philip M. Hofer (Frumph) 0d25e953c9 Part 2 of the configoptions.php addition and revamp removal of the comicpress-config.php
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-31 14:57:50 -08:00
Philip M. Hofer (Frumph) 94d7cdbc02 ComicPress options changes
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-31 13:22:47 -08:00
Philip M. Hofer (Frumph) 6ac1fb1884 comicpress_config values now in the comicpress_options under the comicpress_config variable as array in the $comicpress_options
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-31 08:40:38 -08:00
Philip M. Hofer (Frumph) fb1a2ef2cc Temporary Push of the new $comicpress_options['comicpress_config'] code to remove the comicpress-config.php files
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-31 08:29:04 -08:00
Philip M. Hofer (Frumph) ae43e681d2 float-right on .commentsrsslink cause it looked like crap under the discussion-\ part of the comments page.
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-31 07:56:05 -08:00
Philip M. Hofer (Frumph) 043ae81177 Adjusted the if is_page() on some functions to make sure they break;/return right away
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-31 07:50:54 -08:00
Philip M. Hofer (Frumph) 07de006d31 Merge branch 'master' of github.com:johnbintz/comicpress-2.8 2009-12-31 07:42:53 -08:00
Philip M. Hofer (Frumph) 637ca2300c get_comment_reply_link was improperly placed in the displaypost.php file so it was giving the wrong comments button.
There isn't a return get_comments_popup_link so removed the apply_filters for a lost cause.

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-31 07:42:36 -08:00
John Bintz b93e252368 resolve merge conflict 2009-12-31 08:44:14 -05:00
John Bintz 87fedb04c7 remove realpath check on abspath, messes up on badly-behaved webhosts 2009-12-31 08:36:06 -05:00
Philip M. Hofer (Frumph) 5de0427d66 for child themes, setting:
global $avail_layouts;
$avail_layouts = '3c,standard,v';

in the childfunctions.php file in the childtheme directory will set what layouts are available.

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-31 00:35:29 -08:00
Philip M. Hofer (Frumph) 2297c16ea9 $avail_layouts trying to figure out the best method for having child themes set the themestyle.php which themes are available for the child theme.
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-30 06:03:52 -08:00
Philip M. Hofer (Frumph) 3615389411 Add $wp_query global to some functions that use is_single/is_archive and is_search so it's not trying to find an empty property (even though those functions globalize themself, good practice?, dunno)
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-30 06:03:01 -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) eb6db19306 ComicBlogPostWidget.inc revamp to handle a query_post() on it's own if is_home() so it can capture the right $post
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-30 03:56:58 -08:00
Philip M. Hofer (Frumph) 54ef378748 doing spans on post-author and post-date now seperating them to two individual entities
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-29 11:12:14 -08:00
Philip M. Hofer (Frumph) 3150c96c29 attr's fix in the related posts, global the $comicpress_options right off, set the enable_comment count in feed var in the syndication.php
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-27 05:00:25 -08:00
Philip M. Hofer (Frumph) 98853e20b1 Pushing 2.9.0.9
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-26 11:22:52 -08:00
Philip M. Hofer (Frumph) c3e6f5ce39 Pushing 2.9.0.8
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-26 11:21:47 -08:00
Philip M. Hofer (Frumph) 0b0b274063 moods fix for the <img /> line to be html compliant and wp-pagenavi.php fix for empty <li> statements
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-26 10:17:20 -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) 0cc82d4c21 Set height of the #s-search box to fit appropriately in the menubar.
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-26 07:03:11 -08:00
Philip M. Hofer (Frumph) 0aac1cc944 scroll-to-top checkbox in the general options and associated file changes
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-26 06:44:29 -08:00
Philip M. Hofer (Frumph) 800a840be7 removed bookmarkwidget from being a default widget because of the lack of ability to init the scripts for it.
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-26 06:43:43 -08:00
Philip M. Hofer (Frumph) 42364029d1 CSS id and class cleanups for display in view source.
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-26 06:20:45 -08:00
Philip M. Hofer (Frumph) 4c793dc6f2 header.php css div's position changing so it looks nicer in the output.
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-26 06:05:40 -08:00
Philip M. Hofer (Frumph) 7ab9c22c9c CSS adjustments for the custom-image-header.php apparently there was an extra } all this time.
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-26 05:54:22 -08:00
Philip M. Hofer (Frumph) 463edd67d2 Add option for enabling/disabling the comment count in the feed title.
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-26 05:50:54 -08:00
Philip M. Hofer (Frumph) 2f39ec7413 default at 5 post per page in the .dist
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-26 05:50:05 -08:00
Philip M. Hofer (Frumph) 782a7feb29 sidebar-left.php sidebar-right.php (the_widget archivedropdown fix)
comicpress-options.php loading the include files with a glob.

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-25 17:42:55 -08:00
Philip M. Hofer (Frumph) cc2f5cae62 comicpress-options.php http://github.com/johnbintz/comicpress-2.8/issues#issue/30
Saving options cleanup.

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-25 16:50:51 -08:00
Philip M. Hofer (Frumph) 9f3e86ce6f removing relatedcomics.php and relatedposts.php since they are no longer used.
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-25 15:03:44 -08:00
Philip M. Hofer (Frumph) e2fa538ee4 reducing use of in_comic_category() by setting it to a $var $is_comic = in_comic_category() and using $is_comic if multiple usages of it within the same set of functions
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-25 15:01:48 -08:00
Philip M. Hofer (Frumph) c34a4d6f50 *shakes fist at $post* I'll control you someday !
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-25 12:43:32 -08:00
Philip M. Hofer (Frumph) 15ec1d1c08 Protect() and Restore() the the LatestComicsWidget.inc to the rescue.
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-25 12:08:37 -08:00
Philip M. Hofer (Frumph) a73d8fdc8a Layout Fix for the narrowcolumn when fixnig the v3cr
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-25 12:06:24 -08:00
Philip M. Hofer (Frumph) b94d4973c9 ComicPressLatestComics commented out in sidebar-left.php, it's causing a $post problem.
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-25 11:47:16 -08:00
Philip M. Hofer (Frumph) 6a44dea720 Merge github.com:johnbintz/comicpress-2.8 2009-12-25 11:05:57 -08:00
John Bintz 4f4c0e8810 inplements GH#23 2009-12-25 13:38:56 -05:00
Philip M. Hofer (Frumph) 0d80bc807d _ngettext is depreciated using _n( instead
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-25 10:15:29 -08:00
Philip M. Hofer (Frumph) 3153800485 Random NOTICE fixes with WP_DEBUG turned on.
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-25 10:06:14 -08:00
Philip M. Hofer (Frumph) f39c22bfcb fix for 3c vertical in the layout-head.php
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-24 22:06:20 -08:00
Philip M. Hofer (Frumph) 645629932c Pushing 2.9.0.8
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-24 20:19:32 -08:00