Displaying custom fields for [yasr_top_ten_highest_rated]
-
Hi Dudo,
I have a question about modifying yasr-shortcode-functions.php, exactly shortcode [yasr_top_ten_highest_rated].I try to show ranking of my reviews, but not with default post title and rating stars, but some data from custom fields, like:
– different title (custom field my-title)
– different rating (custom field my-rating)
– post thumbnail (<?php the_post_thumbnail(); ?>)Does this code:
<?php $values = get_post_custom_values(“XXXXXX”); echo $values[0]; ?>
will work for this purpose?Greetings,
Adrianhttps://www.ads-software.com/plugins/yet-another-stars-rating/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Displaying custom fields for [yasr_top_ten_highest_rated]’ is closed to new replies.