GD Star Rating
integration functions
gdsr_render_blog_rating_widget |
( |
$ |
widget = array() , |
|
|
$ |
echo = true |
|
|
) |
|
|
|
Renders blog rating widget element based on the $widget settings array.
- Parameters:
-
|
array |
$widget settings to use for rendering |
|
bool |
$echo echo results or return it as a string |
- Returns:
- string html with rendered contents
gdsr_render_comments_rating_widget |
( |
$ |
widget = array() , |
|
|
$ |
echo = true |
|
|
) |
|
|
|
Renders comments rating widget element based on the $widget settings array.
- Parameters:
-
|
array |
$widget settings to use for rendering |
|
bool |
$echo echo results or return it as a string |
- Returns:
- string html with rendered contents
gdsr_render_google_rich_snippets |
( |
$ |
settings = array() , |
|
|
$ |
echo = true |
|
|
) |
|
|
|
Renders Google Rich Snippet code block.
- Parameters:
-
|
string |
$settings rendering parameters |
|
bool |
$echo echo results or return it as a string |
- Returns:
- string html with rendered contents
gdsr_render_star_rating_widget |
( |
$ |
widget = array() , |
|
|
$ |
echo = true |
|
|
) |
|
|
|
Renders widget-like element based on the $widget settings array.
- Parameters:
-
|
array |
$widget settings to use for rendering |
|
bool |
$echo echo results or return it as a string |
- Returns:
- string html with rendered contents
gdsr_render_stars_custom |
( |
$ |
settings = array() , |
|
|
$ |
echo = true |
|
|
) |
|
|
|
Renders custom stars image (or div block).
- Parameters:
-
|
string |
$settings rendering parameters |
|
bool |
$echo echo results or return it as a string |
- Returns:
- string html with rendered contents