Title: Reddit Embed
Author: benjiballin
Published: <strong>4 جُون 2014</strong>
Last modified: 10 جُولاءِ 2014

---

پلگ انس ڳولھيو

![](https://ps.w.org/wp-redditjs/assets/banner-772x250.png?rev=926576)

ھي پلگ ان **WordPress جي جديد 3 وڏين رليزز** سان آزمايو نه ويو آھي. اهو ٿي سگهي 
ٿو وڌيڪ برقرار يا سپورٽ نه ٿي سگهي ۽ ٿي سگهي ٿو مطابقت جا مسئلا جڏهن ورڈپریس جي 
وڌيڪ تازي ورزن سان استعمال ڪيو وڃي.

![](https://s.w.org/plugins/geopattern-icon/wp-redditjs_a3a4a3.svg)

# Reddit Embed

 کان: [benjiballin](https://profiles.wordpress.org/benjiballin/)

[ڊائون لوڊ ڪريو](https://downloads.wordpress.org/plugin/wp-redditjs.zip)

 * [تفصيل](https://snd.wordpress.org/plugins/wp-redditjs/#description)
 * [جائزو](https://snd.wordpress.org/plugins/wp-redditjs/#reviews)
 *  [تنصيب](https://snd.wordpress.org/plugins/wp-redditjs/#installation)
 * [ترقي](https://snd.wordpress.org/plugins/wp-redditjs/#developers)

 [سھائتا](https://wordpress.org/support/plugin/wp-redditjs/)

## وضاحت

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](https://github.com/BenjaminAdams/wp-redditjs) uses redditJS.com to
create widgets to [embed reddit](http://embed.redditjs.com) 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](http://embed.redditjs.com)

If it has NOT been posted to reddit it will [show a link](https://i.imgur.com/OLJjzkx.png)
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](https://github.com/BenjaminAdams/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.

    ```
    &lt;script src='//redditjs.com/post.js' &gt;&lt;/script&gt;
    ```

### 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

    ```
    &lt;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'&gt;&lt;/script&gt;
    ```

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

## تصوير

[⌊demonstration⌉⌊demonstration⌉[

demonstration

[⌊What happens if your URL has not been posted yet⌉⌊What happens if your URL has
not been posted yet⌉[

What happens if your URL has not been posted yet

[⌊If your URL has been posted on reddit it will display the reddit post on your 
page⌉⌊If your URL has been posted on reddit it will display the reddit post on your
page⌉[

If your URL has been posted on reddit it will display the reddit post on your page

[⌊sidebar widget subreddit feed⌉⌊sidebar widget subreddit feed⌉[

sidebar widget subreddit feed

[⌊sidebar widget subreddit feed⌉⌊sidebar widget subreddit feed⌉[

sidebar widget subreddit feed

## انسٽاليشن

Install plugin, configure in wp-redditjs options

 1. Navigate to the ‘Add New’ in the plugins dashboard
 2. Search for ‘wp-redditjs’
 3. Click ‘Install Now’
 4. Activate the plugin on the Plugin dashboard

#### Uploading in WordPress Dashboard

 1. Navigate to the ‘Add New’ in the plugins dashboard
 2. Navigate to the ‘Upload’ area
 3. Select `wp-redditjs.zip` from your computer
 4. Click ‘Install Now’
 5. Activate the plugin in the Plugin dashboard

#### Using FTP

 1. Download `wp-redditjs.zip`
 2. Extract the `wp-redditjs` directory to your computer
 3. Upload the `wp-redditjs` directory to the `/wp-content/plugins/` directory
 4. Activate the plugin in the Plugin dashboard

## جائزا

![](https://secure.gravatar.com/avatar/22d4b64a3df3ca989dda685c89399136d418e54580967075b76fc6fe085721b8?
s=60&d=retro&r=g)

### 󠀁[Still works](https://wordpress.org/support/topic/still-works-198/)󠁿

 [youhanyo](https://profiles.wordpress.org/youhanyo/) 14 آگسٽ 2021

Not a perfect but works fine

 [ جمع: سڀ 2 تبصرا پڙهو ](https://wordpress.org/support/plugin/wp-redditjs/reviews/)

## تعاون ڪندڙ & ڊولپرز

“Reddit Embed” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.

تعاون ڪندڙ

 *   [ benjiballin ](https://profiles.wordpress.org/benjiballin/)

[ترجمو ڪريو “Reddit Embed” توهان جي ٻولي ۾.](https://translate.wordpress.org/projects/wp-plugins/wp-redditjs)

### ڊولپمينٽ ۾ دلچسپي؟

[ڪوڊ براؤز ڪريو](https://plugins.trac.wordpress.org/browser/wp-redditjs/)، چيڪ ڪريو
[SVN مخزن](https://plugins.svn.wordpress.org/wp-redditjs/)، يا رڪنيت حاصل ڪريو [ڊولپمينٽ لاگ](https://plugins.trac.wordpress.org/log/wp-redditjs/)
پاران [RSS](https://plugins.trac.wordpress.org/log/wp-redditjs/?limit=100&mode=stop_on_copy&format=rss).

## ميٽا

 *  Version **1.0.0**
 *  Last updated **12 سالَ اڳ**
 *  Active installations **10+**
 *  WordPress version ** 3.9.1 يا وڌيڪ **
 *  Tested up to **3.9.40**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-redditjs/)
 * Tag
 * [comments](https://snd.wordpress.org/plugins/tags/comments/)
 *  [ترقي يافته ڏيک](https://snd.wordpress.org/plugins/wp-redditjs/advanced/)

## درجه بندي

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/wp-redditjs/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-redditjs/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-redditjs/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-redditjs/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wp-redditjs/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-redditjs/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-redditjs/reviews/)

## تعاون ڪندڙ

 *   [ benjiballin ](https://profiles.wordpress.org/benjiballin/)

## سھائتا

چوڻ لاءِ ڪجهه آهي؟ مدد گهرجي؟

 [ڏسو سپورٽ فورم](https://wordpress.org/support/plugin/wp-redditjs/)

## عطيو

ڇا توھان ھن پلگ ان جي ترقي ۾ مدد ڪرڻ چاھيو ٿا؟

 [ هن پلگ ان ڏانھن مدد ڪريو ](http://embed.redditjs.com/)