Hi,
I want to use a code like this one :
<?php $widget = array(
'rows' => '10',
'display' => 'all',
'title' => 'Rating',
'select' => 'post',
'order' => 'asc',
'category' => '3',
'tpl_header' => ul,
'tpl_item' => li%RATING% : a href="%PERMALINK%">%TITLE%/a> (%VOTES% %WORD_VOTES%)/li,
'tpl_footer' => /ul
'
);
wp_gdsr_render_widget($widget, true);
I have a custom multi set that I made and I integrate it in my custom post type with a code like that :
wp_gdsr_render_multi(2, 12, false, 0, 'oxygen', 20, 'oxygen_gif', 'oxygen', 20, 'oxygen_gif');
I put that code in my theme with a page like “single-MyCustomPost.php”.
Problem is that “select” parameter accept 3 options, after reading docs, “post”, “postpage” or “page”. Can I use it with option like “MyCustomPost” ?
And my question is to know how can I use the widget function with my mutli set. I want to render last 5 votes saved.
Thanks ;