Reddit Embed

0

Does your site get a lot of posts on reddit? Increase reddit engagement, more comments, more upvotes. Users can read the reddit comments without having to leave your website. wp-reddit

Version
Last updated
Active installations
WordPress Version
Tested up to
pa_tag
Rating
Total ratings
This plugin is outdated and might not be supported anymore.

Description

Does your site get a lot of posts on reddit? Increase reddit engagement, more comments, more upvotes. Users can read the reddit comments without having to leave your website.

wp-redditjs uses redditJS.com to create widgets to embed reddit on your website.

The post widget will embed itself onto your WordPress post and detect if it has been posted to reddit. more details and examples

If it has NOT been posted to reddit it will show a link to encourage the user to submit.
If it has been posted, it will load a widget displaying that reddit post giving the user where they can upvote/comment that post.

wp-redditjs will give you a chat box similar to facebook or disqus comment system.  This is excellent for websites that have their content submitted to reddit.  It will help increase reddit activity with more upvotes and comments and allow the user to freely navigate reddit.

Instructions

If you are not using the WordPress plugin, you can add this script tag on any website.

<script src='//redditjs.com/post.js' ></script>

Options

NameDescription values Default
data-urlThe URL you want to search in reddit to embed on your site. any url current URL
data-widthWidth of the post widget. number 500
data-heightHeight of the post widget. number 500
data-post-finderIf the URL has been submitted multiple times to reddit, it will display the most relevant post based on your setting. newest, mostUpvoted, mostComments mostComments
data-themeChange the theme light, dark light
data-show-submitIf we don’t find a post on reddit, should we display a “submit to reddit” widget. true,false true

reddit post widget light theme

<script src='//redditjs.com/post.js' data-url='http://www.techodrom.com/etc/star-trek-edges-closer-reality-tractor-beam-moves-object-using-nothing-power-ultrasound/' data-height='500' data-width='500' data-post-finder='newest' data-theme='dark' data-show-submit='true'></script>

You can also embed a subreddit with a sidebar widget or with this script tag
<script src=’//redditjs.com/subreddit.js’ ></script>

NameDescription values Default
data-subredditThe subreddit you want to embed any subreddit front
data-domainIf you want to embed all posts coming from a domain. Do not include if you want to embed a regular subreddit any valid domain null
data-widthWidth of the post widget. number 300
data-heightHeight of the post widget. number 300
data-sortSort order of subreddit hot, new, controversial, rising, top, gilded hot
data-themeChange the theme light, dark light
data-timeframeIf top or controversial is select you can show posts from a specific time period. hour,day,week,month,year,alllight
data-subreddit-modeHow you want to display a subreddit normal,small,grid,large normal