• ok I got the plugin. I put the c2c_get_recent_posts line in the right side bar. it works. But I hate having the date attached it word wraps the link to the message. Any help?

Viewing 9 replies - 1 through 9 (of 9 total)
  • 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.

    You can remove the date element – just remove the reference to date in the code wherever you wanted it to be displayed. This is for me one of the best plugins simply because of its flexibility in configuration. Excellent plugin

    Thread Starter brianbonner

    (@brianbonner)

    I cannot figure out what code is on use in the plug in, nor what I am allowed to change.

    Thread Starter brianbonner

    (@brianbonner)

    Ok I think I am calling to this code?
    function c2c_get_recent_posts ($num_posts = 5,
    $format = ”

    • %post_date%: %post_URL%
    • “,
      $categories = ”, // space separated list of category IDs — leave empty to get all
      $orderby = ‘date’,
      $order = ‘DESC’, // either ‘ASC’ (ascending) or ‘DESC’ (descending)
      $offset = 0, // number of posts to skip
      $date_format = ‘m/d/Y’, // Date format, php-style, if different from blog’s date-format setting
      $authors = ”, // space separated list of author IDs — leave empty to get all
      $include_passworded_posts = false)
      {

      What can I change. when I delete the %date% I get an error. I wish I had the authors email. Sorry folks I am bran new at this code.

    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>"); ?>

    Thread Starter brianbonner

    (@brianbonner)

    That causes the url to be displayed. I need a link to the permalink with the post title. I really messed up this page

    Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

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

    nice screw up of the forum *grin* ??

    Oww besides you can try my version ?? But that is not as highly adepted as C2C’s version since I started out plugins like a week ago ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘recent posts’ is closed to new replies.