Scott Reilly
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Template borkedThe unordered list should probably look like this:
<ul class="point"><
<?php c2c_get_recent_posts (5,
"<li>%post_date%: %post_URL%br />%post_excerpt</li>",
'11 12 13 14',
'date',
'DESC',
1); ?>
</ul>Forum: Plugins
In reply to: Category Images Plugin for 1.5In the style.css file for your theme, add the following:
.catimage { float: left; }Forum: Plugins
In reply to: Is there a plugin to assign an image of author with post?You can try the Author Image(s) plugin: http://wordpress.org/support/topic.php?id=28963
Forum: Plugins
In reply to: recent comments ? coffee2code pluginThat is the definition of the function, not the code to insert into your site templates. Look at the examples section of the plugin’s page, http://www.coffee2code.com/archives/2004/08/27/plugin-customizable-post-listings/#examples
What you’d be putting into your sidebar.php would be closer to:
<ul>Recently Commented
<?php c2c_get_recently_commented(); ?>
</ul>The instructions were originally written for WP 1.2, but I’ve just updated it to mention sidebar.php instead.
Forum: Plugins
In reply to: Comments PluginDid you want it by recently commented posts or by recent comments? (The former means that each post will only be listed once with the most recent commenter next to it.) The two versions would look like this:
Recently Commented
Sample Post Title by: Commenter4
Another Post by: Commenter2
Yet Another by: Commenter1Recent Comments
Sample Post Title by: Commenter4
Sample Post Title by: Commenter3
Another Post by: Commenter2(In both examples, Commenter4 made the most recent comment and Commenter3 the next most recent comment. Notice how recently commented doesn’t list Sample Post Title twice.)
Forum: Plugins
In reply to: Comments PluginIs the PostName and PostAuthor above to be used when listing recent comments? Or were you interested in post listings all along and not anything related to comments? Your description so far is too vague to know how you want PostName and PostAuthor used.
Forum: Plugins
In reply to: Comments PluginAssuming you are looking to do a listing of recent comments, you could use the Customizable Comment Listings plugin, as mentioned here: http://wordpress.org/support/topic.php?id=29195
With it you can choose what to show and how to show it.
Forum: Plugins
In reply to: Category Images Plugin for 1.5Oops, the note about the directory in the plugin’s description wasn’t updated to reflect a change with the latest release. The image directory the plugin uses by default is
wp-content/images. You can usewp-imagesif you like, you would just need to specify the appropriate argument.Forum: Plugins
In reply to: Get the postid when filter is invokedAdd this to your function:
global $id;$idis the post ID.Likewise you can also do:
global $post;
$id = $post->ID;Forum: Plugins
In reply to: Custom Fields?The plugin’s site has some examples that should aid you in your usage (or if not, please indicate how they are unclear!). For instance, to do what you seem to want done above, you would use:
<?php echo c2c_get_custom('sqft', '', 'Sq. Ft. |'); ?>Notice you have to quote the first argument, and you don’t specify argument by doing something like $before=.
Forum: Plugins
In reply to: recent postsDid you use capital URL in
%post_URL%? That is different than%post_url%. Case matters.Forum: Plugins
In reply to: recent postsWhat exactly do you want to appear in your recent posts listing? Just the post titles linked to the post’s permalink page? If so, try this:
<?php c2c_get_recent_posts(5, "<li>%post_URL%</li>"); ?>Forum: Plugins
In reply to: recent postsOne of the benefits of the Customizable Post Listings plugin is that you can customize what gets displayed and how it gets displayed. Have you tried defining a custom format for the output? (vheck out the later examples at the plugin’s homepage). Or explain exactly what you’d like to have show up.
Forum: Fixing WordPress
In reply to: List pages by recently modified on sidebarThe next version of the Customizable Post Listings plugin will allow you to easily indicate if you mean ‘publish’ (posts), ‘static’ (pages), and/or even ‘draft’. Hope to have it out in a day or two. The plugin already has it, just have to bundle up some of the other newer things.
Forum: Plugins
In reply to: Hyperlinks are Hidden from PostsIf you literally have this in your post:
<http://www.mactech.com>then the problem isn’t the plugin. The plugin doesn’t handle links wrapped with<and>like that because it looks like a tag, which is the same reason it isn’t appearing on your blog. Your browser doesn’t recognize the tag (obviously) so it isn’t shown, but if you viewed the source for the page it should be there. There might’ve been some problems trying to throw<and>into the pattern search string that I used. I may look into it, but can’t say this is a situation the plugin will necessarily address.