SELECT
vote.post_id, (pow(0.95,DATEDIFF(NOW(),post.post_date))*vote.user_recc_plus) as hybrid,
FROM
wp_gdsr_data_article as vote,
wp_posts as post
WHERE
post.id = vote.post_id
ORDER BY
hybrid DESC;
Ich habe ein plugin GDSR Star Rating installiert. Jetzt würde ich gerne diesen Wert:
pow(0.95,DATEDIFF(NOW(),post.post_date))*vote.user_recc_plus
in meinem WP_QUERY() zurückbekommen.
Dafür benötige ich die Tabellen
WP_POSTS und WP_GDSR_DATA_ARTICLE
Gibts da ne Möglichkeit, das reinzufriemeln ?
Gruß Dapapst und Danke für eure Hilfe.