Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter edmcmanwich

    (@edmcmanwich)

    bump!

    You can edit the plugin file: (display-last-post.php)

    Find this bit: .get_permalink

    Then add some code to include the bits you need.

    eg:

    on my site I have:

    $retour.='<br><br><h3><a href="'.get_permalink().'">'.the_title("","",false).'</a></h3><ul>'.PHP_EOL;

    which shows this:

    First Home Buyers in Australia June 2011

    The following tables show the changes in the numbers,

    Change the code to:

    $retour.='<br><br><h3><a href="'.get_permalink().'">'.the_title("","",false).'</a></h3><ul>'.PHP_EOL;
    $retour .= '<div class="date">'.get_the_date().'</div>'.PHP_EOL;

    and it shows this:

    First Home Buyers in Australia June 2011

    August 10, 2011
    The following tables show the changes in the numbers

    The date has been added.

    You then need to do the same for tags and author, but probably AFTER this code
    fb_the_content().PHP_EOL;
    to make it appear after the excerpt or content.

    http://www.abcdiamond.com/forum/display-last-post/

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Display Last Post(s)] Add Date, Tags, and Author’ is closed to new replies.