Philip M. Hofer (Frumph)
1616e6de31
filter for the_excerpt to add the comic images to the feeds in case someone has it switched in the settings.
...
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2010-01-02 13:07:02 -08:00
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)
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)
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)
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
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)
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)
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)
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)
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)
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)
522e305f2e
placement fixes, added widget-head & widget-foot classes to the PLACED widgets (not default)
...
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-24 18:28:22 -08:00
Philip M. Hofer (Frumph)
3369d27686
comicpress_display_calendar re-added to the comicpress_display_post
...
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-24 17:52:48 -08:00
Philip M. Hofer (Frumph)
97f1f66b2d
.post .post-comic .post-page and .post-blog are the class wrappers now, .post will always appear unless on is_page()
...
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-24 17:20:03 -08:00
Philip M. Hofer (Frumph)
fb985a66e1
body_classes.php stop it from doing some things if on is_page(); and text fix in postoptions.php
...
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-24 15:35:44 -08:00
Philip M. Hofer (Frumph)
781b16dbf6
adjusted the comicpress_post_class to ignore some entries if is_page()
...
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-24 15:28:58 -08:00
Philip M. Hofer (Frumph)
67a1a155aa
making sure everything is using comicpress_display_post() that should
...
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-24 15:09:56 -08:00
Philip M. Hofer (Frumph)
fd66df637a
*waves bye* to displayblogpost.php and displaycomicpost.php since they are now combined in displaypost.php
...
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-24 15:02:49 -08:00
Philip M. Hofer (Frumph)
0357068abe
displayblogpost and displaycomicpost now disappear and it's centralized to comicpress_display_post() inside displaypost.php, adjusted post_classes to work properly with it
...
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-24 15:01:47 -08:00
Philip M. Hofer (Frumph)
d75c46345b
shortcode fix again I hope for the <p></p> problem
...
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-24 07:51:05 -08:00
Philip M. Hofer (Frumph)
0823a14d2b
blogpwad and footerpwad classes removed and trying to cleanup the membersonly.php shortcode to not have the extra <p></p> need to figure that sucker out.
...
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-24 07:35:55 -08:00
Philip M. Hofer (Frumph)
8f76c62ada
more display_post functions, .pagetitle is moving to .page-title (references both in the style.css atm, but pages use .page-title now)
...
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-24 07:20:21 -08:00
Philip M. Hofer (Frumph)
45418a90d1
.post-date .date are now .post-calendar-date and .calendar-date (cause its for the graphic calendar) .post-date is now for the full date in the post under the title, new functions comicpress_display_post_calendar() and comicpress_disdplay_post_author() with associating filters for both.
...
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-24 06:09:34 -08:00
Philip M. Hofer (Frumph)
02e0a9f66f
consolidating page posts into a function comicpress_display_page_post()
...
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-23 10:43:05 -08:00
Philip M. Hofer (Frumph)
160539e223
Addition to comicpress-debug.php where it will now check all post slugs to make sure it's not numeric (wp prob)
...
Seperating functions for displaying posts so that multiple calls will calljustone function with a filter.
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-23 09:59:31 -08:00
Philip M. Hofer (Frumph)
b0ad9bec80
Introducing John Bintz's protect and restore functions, moved the #comic code from index & single into the layout-head so that it's uniformative code but made it call display_comic_area(); made it so that left and right sidebar's will know the comic code on index, etc. temporarily added the queries to the footer.php and re-enabled (orig) navigation for testing.
...
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-22 14:20:11 -08:00
Philip M. Hofer (Frumph)
40295c662a
Consolidated the displaycomic and blogpost functions to be used in the archive and search as well.
...
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-22 04:21:44 -08:00
Philip M. Hofer (Frumph)
e8cdd1f7cf
Re-Adding modifications which were missed
...
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-21 18:16:29 -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
mindfaucet
991b70cf1f
Few small text edits...
2009-12-20 11:39:10 -07:00
John Bintz
dbdfcf055c
properly fix shortcode calling issues
2009-12-20 09:21:55 -05:00
Philip M. Hofer (Frumph)
2cc315dcdc
..uncommented related posts and comics so that sites do not continue to be b0rked from the functions/displayblogpost.php and functions/displaycomicpost.php calls those functions.
...
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-20 00:02:13 -08:00
Philip M. Hofer (Frumph)
12ffca740a
Merge branch 'master' of github.com:johnbintz/comicpress-2.8
2009-12-19 23:56:18 -08:00
Philip M. Hofer (Frumph)
7fecf9104c
Fixing has_thumbnail locations part 1
...
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-19 23:55:56 -08:00
John Bintz
d5b1fd6b52
remove old related posts code
2009-12-20 01:38:38 -05:00
Philip M. Hofer (Frumph)
4a25965398
Breaking sites with this related commented out.
...
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-19 19:53:31 -08:00
John Bintz
1ed115dd20
Merge branch 'master' of github.com:johnbintz/comicpress-2.8
2009-12-19 21:26:09 -05:00
John Bintz
a7b1945866
replace related post search with unified code
2009-12-19 21:26:03 -05:00
Philip M. Hofer (Frumph)
1cfc3fadf2
the_post_image was changed to the_post_thumbnail on wordpress 2.9 release, adjusted.
...
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
2009-12-18 23:07:10 -08:00
John Bintz
a818df4f4d
set up function tests area
2009-12-18 07:42:18 -05:00
John Bintz
923bda444d
fix rss_counts_comment, fixed GH#6
2009-12-18 07:30:49 -05:00
John Bintz
cb83eeb049
move widget template tags to separate file and build tags for archive dropdown
2009-12-15 06:34:26 -05:00
mindfaucet
1970d387c3
At some point the comments link started showing up on the single pages, doubled up with the actual comments and discussion count. Not sure what the original code was here but I added is_single() exclusions.
2009-12-04 10:38:19 -07:00