Scott Reilly
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Editing <!–more–> TagYou can use the Get Custom Field Values plugin. Check out the example section: http://www.coffee2code.com/archives/2004/06/30/plugin-get-custom/#examples
The last example describes how to do what you want. You would need the plugin, obviously, and a simple tweak to your index.php.
Forum: Fixing WordPress
In reply to: cannot show the commentsPerhaps re-obtain the latest code from CVS? A recent bugfix ( http://mosquito.wordpress.org/view.php?id=606 ) probably solves this problem.
Forum: Plugins
In reply to: All I want for Christmas is a little helpSomeone (perhaps you) recently posted a similar request at the Category Image(s) plugin’s homepage. I suggested a solution there.
Forum: Plugins
In reply to: Posts to become “extended” as they move down?Another alternative:
In index.php, look forstart_wp();and change it to:
start_wp(); $ext_count = 0; $extended_after = 5;
The value of 5 indicates how many posts you want as full; change it to whatever you prefer. Then look for this:
<div class="storycontent">
<?php the_content(); ?>
</div>
And make changes such that it looks like this:
<div class="storycontent">
<?php
($ext_count < $extended_after) ? the_content() : the_excerpt();
$ext_count++;
?>
</div>
Though I haven’t tested it, this should make the first 5 posts of your blog appear in full, then any subsequent posts will appear excerpted (i.e. shorter). Triggering the excerpt by the age of the post is also just as easily possible.Forum: Plugins
In reply to: text replace pluginIf you search this forum for “headers already sent” you’ll see that you had space before the opening
<?phpand/or after the ending?>, which caused your error.Forum: Plugins
In reply to: get_recent_posts and Post Limit, Category FiltersYou might want to try the Customizable Post Listings plugin. You can have it list only posts from a certain category, and you can customize the output (i.e. show the date before the name of the post, like you want).
Forum: Plugins
In reply to: Category Icon PluginHave you tried the Category Image(s) plugin? If your category was named “blah/blah”, the associated image name would be “blahblah.jpg” (or .gif, or .png).
Forum: Fixing WordPress
In reply to: How to combine author- & category-tags?You could try the Customizable Post Listings plugin. With it you can identify author(s) and/or categor(ies). Doesn’t help you with permalinks though.
Forum: Fixing WordPress
In reply to: The (more…) -tagSomething like the Hide or Cut Post Text plugin? Where text between
<!–cut–> and<!–/cut–> aren’t shown on the non-permalink pages (i.e. all pages except for the post’s single page), and you get a link like the “(more..)” link instead of the cut text?Forum: Fixing WordPress
In reply to: quicktags make me lose my placeDarn auto-logout. That was me.
Forum: Plugins
In reply to: Recent Posts Plugin?You can use my Customizable Post Listings, or MtDewVirus’s Recent Posts.
The WordPress Wiki Plugin page is a good place to find plugins.Forum: Plugins
In reply to: Currently Reading plugin for menuI just released v2.0 of Get Custom Field Values. Among other things, it now includes the function
c2c_get_recent_custom()which will retrieve recent custom field values from outside the loop. I haven’t formally announced it yet, but have made it available and would like to know if it works well for others. Please let me know if you give it a try.
(Note for those using older versions of this plugin: I’ve changed the function nameget_custom()toc2c_get_custom(), so you’ll have to update your calls to function in index.php if you upgrade.)Forum: Fixing WordPress
In reply to: Using images for category listingCould you post an URL to your site? I’m still not clear on precisely where you have your images. Assuming you are using the cat-images/ subdirectory from your latest post, this is what you should have in your index.php:
<div class="meta"><?php _e("Filed under:"); ?>
<?php if ($single) {
the_category_image(" ", "", "gif", "/wp/wp-images/cat-images/");
} else {
the_category_image(" ", "", "gif", "/wp/wp-images/cat-images/");
} ?>
� <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(); ?></div>
The change you say you did to category-images.php isn’t necessary (and may be problematic). Try all this with an unmodified copy of the plugin.Forum: Fixing WordPress
In reply to: Using images for category listingAssuming what you’ve said so far about image type (gif) and location (/wp/images/), (where /wp/ is the absolute location to the root of your blog) then the HTML you posted should be:
<div class="meta"><?php _e("Filed under:"); ?> <?php the_category() ?> <?php the_category_image(" ", "", "gif", "/wp/images/"); ?> � <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(); ?></div>
Since you still have<?php the_category() ?>in there, you’ll see both the name of the category and the image. Take it out if you only want the image.Forum: Fixing WordPress
In reply to: Using images for category listingWhat directory did you upload the images to?