sophy0
Forum Replies Created
-
Actually the first code works for me but only on the home page. If you could help make the archive pages or category be sorted the same way I’d appreciate
ThanksI just tried the code and my posts aren’t showing up
When I made a new one and tried to view it I was hit with a 404 errorOkay that’d be great (@pcnoggin)
Is there anyway we could get in touch faster.
I’d like to connect with you
Thanks(@pcnoggin)
Do you have any solution?Okay I understand now
I’m not using any shortcodes on my posts actually, I’m using the autoinsert feature to insert the ratings.I actually want my visitors to be rating the posts but now it isn’t saved in the postmeta, is there any way to go around it?
I found this code to change the “order by”
`<?php
$q1 = new WP_Query( array(
‘meta_key’ => ‘xxxxx’,
‘orderby’ => ‘meta_value’,
) );The code makes use of the meta_key and meta value gotten from the post meta which I don’t have here.
Please is there any code I could use to make use of the _yasr_log
Thanks- This reply was modified 3 years, 1 month ago by sophy0.
Okay
I think I’ve got a way
I just need to know the meta key in which the plugin stores the vote as I’ve searched in my DB’s postmeta and I haven’t found it
Thanks for your help so far- This reply was modified 3 years, 1 month ago by sophy0.
Thanks but I’m not looking to display the highest rated posts wherever.
Since yasr stores my ratings in a database, I’d like to use that to order my posts from the highest to the lowest rated.
I’m not using any shortcode actually
I found this “[yasr_most_or_highest_rated_posts]” but I don’t know if it’ll workDoes it require a pro version?