Forum Replies Created

Viewing 15 replies - 346 through 360 (of 409 total)
  • Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    The 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>

    Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    In the style.css file for your theme, add the following:

    .catimage { float: left; }

    Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    You can try the Author Image(s) plugin: http://wordpress.org/support/topic.php?id=28963

    Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    That 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 Plugin
    Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    Did 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: Commenter1

    Recent 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 Plugin
    Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    Is 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 Plugin
    Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    Assuming 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.

    Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    Oops, 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 use wp-images if you like, you would just need to specify the appropriate argument.

    Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    Add this to your function:
    global $id;

    $id is the post ID.

    Likewise you can also do:
    global $post;
    $id = $post->ID;

    Forum: Plugins
    In reply to: Custom Fields?
    Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    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 posts
    Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    Did you use capital URL in %post_URL%? That is different than %post_url%. Case matters.

    Forum: Plugins
    In reply to: recent posts
    Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    What 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 posts
    Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    One 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.

    Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    The 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.

    Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    If 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.

Viewing 15 replies - 346 through 360 (of 409 total)