Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Mickael

    (@spanish_biker79)

    Just saw that the following code behaves like that:
    <?=function_exists('thumbs_rating_getlink') ? thumbs_rating_getlink() : ''?>

    But, how could you put it at the beginning of all posts or pages rather than at the end? I’ve tried putting the code above on the ‘single.php’ file but it doesn’t seem to be executed…

    And where are the votes stored in case we need to change the current votes please?

    Cheers!

    Thread Starter Mickael

    (@spanish_biker79)

    Managed to have it working in ‘single.php’ now…

    Still tweaking it during the next few days, looking good!

    Plugin Author Ricard Torres

    (@quicoto)

    Hi Mickael, the code you’re using is correct. You just need to find the right place.

    The votes are stored in the wp_postmeta table.

    Cheers,

    Rick

    Thread Starter Mickael

    (@spanish_biker79)

    Hi Rick,

    I’ve got 6 posts with thumbs_rating associated but I can see 100 entries in the ‘wp_postmeta’ table.

    There are 4 columns: meta_id, post_id, meta_key and meta_value.

    Which ones are the ones identifying the thumbs_rating? I can’t figure it out…

    Plugin Author Ricard Torres

    (@quicoto)

    There’s 2 meta_key stored:

    _thumbs_rating_up
    _thumbs_rating_down

    Best,

    Thread Starter Mickael

    (@spanish_biker79)

    Perfect, thanks for that!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Is it possible to use it with each post appearing in the homepage?’ is closed to new replies.