WordPress tutorials: Reddit submission upvote

Wpsnipp – The reddit button is the smart way to get your content submitted to and discussed on reddit. Pick the button you like from below, and then copy/paste the code into your HTML editor.Adding one of these Javascript buttons to your single.php will display a submit and article up-vote option for your posts. Reddit has 3 button types available.

 

 

 

Button style 1


<script type='text/javascript'>reddit_url='[URL]'</script>

<script type='text/javascript'>reddit_title='[TITLE]'</script>

<script type="text/javascript" src="http://www.reddit.com/button.js?t=1"></script>

Button style 2

<script type='text/javascript'>reddit_url='[URL]'</script>

<script type='text/javascript'>reddit_title='[TITLE]'</script>

<script type="text/javascript" src="http://www.reddit.com/button.js?t=2"></script>

Button style 3

<script type='text/javascript'>reddit_url='[URL]'</script>

<script type='text/javascript'>reddit_title='[TITLE]'</script>

<script type="text/javascript" src="http://www.reddit.com/button.js?t=3"></script>

Leave a comment