Support » Plugin: This-or-That » How after voting redirect to results page?

Viewing 3 replies - 1 through 3 (of 3 total)
  • this is a good idea. something like adding a results_uri=”” option to the shortcode would be nice, allowing redirect to specific page.

    Plugin Author André Boekhorst

    (@andrex84)

    Hi There,
    The plugin was meant as a way to vote between a larger group of items. As I understand it now, you would like to see the results of just two items?

    If I understand it correctly, this would then become some sort of votecount?

    cheers,
    André

    Thread Starter mario222

    (@dezius)

    Yes, I would like to see the results of just two items. But i need what after vote page refresh to page with results shortcode[thisorthat_ranking].

    Now, i found one hack 🙂 I just add “/rezultatai/” to HREF in plugin php code.

    <!-- HOME HTML -->
    <a href="/rezultatai/<?php echo wp_nonce_url($url); ?>"  title="<?php the_title_attribute(); ?>" class="this-or-that-btn" rel="nofollow">   <?php the_post_thumbnail( $thumb_size ); ?></a>
    <!-- HOME HTML END-->
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How after voting redirect to results page?’ is closed to new replies.