Описание
Want to add a simple and efficient post likes button?
This plugin provides the wp_post_likes()
template tag which generates simple and efficient likes button. See the installation instructions for using it in your theme.
Development
Translations
Установка
- Open
wp-content/plugins
Folder - Put:
Folder: wp-post-likes
- Activate
WP Post Likes
Plugin
Usage
- Open
wp-content/themes/<YOUR THEME NAME>/index.php
- You may place it in archive.php, single.php, post.php or page.php also.
- Find:
<?php while (have_posts()) : the_post(); ?>
- Add anywhere below it (the place you want the likes button to show):
<?php if ( function_exists( 'wp_post_likes' ) ) { wp_post_likes(); } ?>
* If you DO NOT want the likes to appear in every post/page, DO NOT use the code above. Just type in [wp-post-likes]
into the selected post/page content and it will embed likes into that post/page only.
Отзывы
Нет отзывов об этом плагине.
Участники и разработчики
«WP Post Likes» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
УчастникиПеревести «WP Post Likes» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
1.0
- Initial Release