Опис
WP Favorites allows your logged in users to favorite a tag, and allows them to see only posts that have that tag. They can also favorite multiple tags, and see only posts that have all those tags (or optionally any post with any of those tags). Example: You run a site about tea, iced and hot, green black and white. You tag every post green, black, or white, as well as iced or hot. Your user only likes iced green tea, so they favorite the ‘iced’ tag, and the ‘green’ tag. Then, they can see only posts pertaining to iced green tea (or optionally any post’s tagged either iced or green). Users are able to favorite a tag from it’s archive page.
Скріншоти
Встановлення
- Install wp_favorites from the plugin page, or upload it, whatever.
- Activate it
- You can drop the widget into any of your sidebars if your theme is widget compatible, other wise drop
if(function_exists('wp_favorites')) wp_favorites();
into your template wherever you want the navigation to show up.
Відгуки
Для цього плагіна немає відгуків.
Учасники та розробники
“wp_favorites” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:
УчасникиПерекладіть “wp_favorites” на вашу мову.
Цікавитесь розробкою?
Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.
Журнал змін
0.6
- Added custom html option for what to display if a user is logged in but has no favorites
- Added two conditional tags: is_favorite(), which returns true if all the tags currently being browsed are favorited, and is_multiterm(), which returns true if there are multiple tags being browsed concurrently, such as example.com/?tag=tag1,tag-2
0.5.3
- Added the ability to use an inclusive or an exclusive search. That is: let your users search for posts that contain ALL selected tags (exclusive), or let them search for ALL posts that contain any selected tags (inclusive).
- Added the ‘View All’ button, which selects all the favorites.