├── README.md ├── composer.json ├── css └── simple-likes-public.css ├── js └── simple-likes-public.js └── post-like.php /README.md: -------------------------------------------------------------------------------- 1 | WordPress-Post-Like-System 2 | ========================== 3 | 4 |
echo get_simple_likes_button( get_the_ID() );
echo get_simple_likes_button( get_comment_ID(), 1 );
get_liked_icon()
and get_unliked_icon()
functions with your own solution. Since it is a popular solution, I've included commented code for Font Awesome icons.sl_format_count();
to your preference.show_user_likes();
for this query).