Описание
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 …<a href="http://www.mysite.ca/blog/post">Continue reading <span class="meta-nav">→</span></a></p>
</div>
Установка
- Upload the plugin to the
/wp-content/plugins/
directory and unzip it. - Активируйте плагин на странице «Плагины» в панели управления WordPress.
- Place
[get_latest_post]
in your pages.
Отзывы
Участники и разработчики
«Get Latest Post» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
УчастникиПеревести «Get Latest Post» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
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
- Первая версия.