Counter plugin detects each view and stores the data into the database table as well as own post meta.
Set the counter type by using one of the following strings. total returns all registered clicks ... daily returns all registered clicks for the current day... unique returns all unique clicks ... daily unique returns all unique clicks for the current day...
Returns the number as integer or false if the in invalid.. dexs cr has viewed.
Note The data depends on your rating layout setting, but the values are always integers represents the number of ratings clicks on the respective rating value..
Use get the ID WordPress within loop. $value.
Change the returning value false checks if the user has already rated .. true checks if the user has already rated and returns the rate value...
Note Returns false if the $post id is invalid and NULL if the user is within excluded role. dexs cr rating link.
NULL all rating values, depending on the rating layout .. *value* checks if the user has already rated and returns the rate value...
You can use the following settings to change the order, of your costum WP Query requests, depending to view counter OR rating counter.
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more