Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jakob Lenfers

    (@jakob42)

    I guess you could add custom JavaScript to your site to achieve that. If anybody builds something like that and want it added to Reaction Buttons, I would be happy to. But I’m no JS wizard and don’t have time atm.

    Thread Starter Naeem Noor

    (@naeemnur)

    I actually managed to add it via jQuery, you can see the demo here: https://footyreflex.com/straightred/

    Thanks anyways!

    Plugin Author Jakob Lenfers

    (@jakob42)

    Nice. If you don’t mind sharing, I would add the JS code optionally to the plugin.

    Thread Starter Naeem Noor

    (@naeemnur)

    <script>
    jQuery("a.reaction_button").on('click', function(){
      window.location = "https://footyreflex.com/random/";
    });
    </script>

    and the random link is being generated by a plugin.

    Plugin Author Jakob Lenfers

    (@jakob42)

    Oh well, if it is another plugin I’ll just leave it here for people to find. It’s not like this is complex JS. ??

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Go to random post after click’ is closed to new replies.