WordPress.org

Support

Support » Plugins and Hacks » Display Last Post(s) » [Plugin: Display Last Post(s)] full list of post display arguments

[Plugin: Display Last Post(s)] full list of post display arguments

Viewing 1 replies (of 1 total)
  • I will hazard a guess at this.

    Find this code in “display-last-post.php”

    if ($cont != 'cont') { $retour.= get_the_excerpt().PHP_EOL; } else $retour.= fb_the_content().PHP_EOL;
    $retour .= '<div class="author">'.get_the_author().'</div>'.PHP_EOL;
    $retour.='</ul> ';
    		endforeach;

    and remove the excerpt and content sections, leaving just this:

    if ($cont != 'cont') { $retour .= '<div class="author">'.get_the_author().'</div>'.PHP_EOL;
    $retour.='</ul> ';
    		endforeach;

    I’ve not tested this one, so back up your “display-last-post.php” file content first so you can replace the exact content if it gives a temporary fatal error.

    If this does not work, I use a different plugin to get the result you need. See http://abcdiamond.com.au for an example page using both types of options.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Display Last Post(s)] full list of post display arguments’ is closed to new replies.
Skip to toolbar