Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Get Latest Post

Beskrivning

This plugin adds the ability to put a shortcode tag in any static page or post and have it display an excerpt from your latest blog post.

There are no settings or options.

It generates markup like this, which you can style as desired:

<div class='latest-post'>
<p class='title'><a href='http://www.mysite.ca/blog/post'>Look ma, no hands!</a></p>
<p class='excerpt'>Today I rode a bicycle &hellip;<a href="http://www.mysite.ca/blog/post">Continue reading <span class="meta-nav">&rarr;</span></a></p>
</div>

Installation

  1. Upload the plugin to the /wp-content/plugins/ directory and unzip it.
  2. Activate the plugin through the ’Plugins’ menu in WordPress.
  3. Place [get_latest_post] in your pages.

Recensioner

3 september 2016
It displays your latestest post. Great. Now if only there was a way to display just the latest POST TITLE and nothing else (linked to the Post of course) I would be happy. Can’t seem to find such a plugin.
Läs alla 2 betyg

Bidragsgivare och utvecklare

”Get Latest Post” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Get Latest Post” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

0.3

  • More WordPress VIP coding standards
  • refactored in to class
  • updated ”tested up to” to 4.3.1

0.2.2

  • WordPress VIP coding standards; updated ”tested up to” to 4.1

0.2.1

  • Updated ”tested up to” to 3.9.1

0.2

  • Call wp_reset_query() at the end.

0.1

  • Initial release.