Reddit Wordpress



RedditWordpress

The administrative controls for subreddits are surprisingly simple once you know where they are. The below steps walk you through all of the modifications you can make to your subreddit. Feel free to skip any steps that do not interest you at this time.

Prerequisites: Be a moderator for a subreddit and log in to your account.

There are a couple of ways your WordPress site can benefit from reddit. Firstly, you can build a complete website based on feeds from various reddits. This needs to be done in a way that gives more value to the user than the subreddits within the Reddit site itself do. Steps to embed a Reddit post. The Reddit block makes it quite simple to embed a Reddit post. These are the required steps: Go to the Reddit post you want to embed. You find the URL at the top of the screen (marked in red in the image below) Add a Reddit block to your post. The fastest way to add a block is to use the slash command. I'm trying to make sure that the plugin I am testing on is activated using the asynchronous activatePlugin('name-of-our-plugin') function from the @wordpress/e2e-test-utils package. The problem is that this function assumes there is an existing administrator account with username: admin and password: password. Thanks to WordPress and the tens of thousands of active developers in its community, there are a ton of products for creating highly advanced, multi-featured websites. You no longer need to shell out thousands of dollars to make a site like Reddit.

To access all of your controls, navigate to your subreddit’s page (www.reddit/com/r/RedditName). On the bottom of the right sidebar, there will be a box labeled “ADMIN BOX” which will contain links for community settings, moderator mail, editing moderators, editing submitters, viewing traffic statistics, viewing reported links, reviewing the spam filter, and banning users.

  • Click community settings to edit all of the decisions you made when creating the subreddit – except for the name. See the main Creat your Own page for a refresher on how to edit these fields. Additionally, there are three options to edit the appearance of your reddit: stylesheet, mouseover text, and header image. Before navigating away, be sure to press the “save changes” button at the bottom of the page.
    • Click “edit the stylesheet” to view an input box for a custom CSS stylesheet. CSS is a language used to change the presentation of a document. Users with knowledge of CSS can implement customizations. A good example of what can be acheived is www.reddit.com/r/skydiving. Navigate to http://www.reddit.com/r/RedditName/stylesheet.css to view a reddit’s stylesheet in order to see how other people implement their tweaks.
    • Enter text into the mouse-over text field to change what comes up when you hold your mouse over the header on your subreddit.
    • Upload a header image to replace the alien on the header of your subreddit.
      1. Click the “browse” button to open a file browser to locate the picture on your computer.
      2. Click the “upload” button to copy your image to reddit’s servers.
  • The next link in the panel is moderator mail. Moderator mail may also be accessed from anywhere on reddit. Just click the alien icon next to the envelope on the upper right corner of any page. Moderator mail is created when someone reports a link in your subreddit, or uses the “message the moderators” link.
  • Click “edit moderators” to go to a page where you can manage who is allowed to access the admin box.
    • To add a moderator, type the person’s username in the box at the top and press the enter key.
    • To remove a moderator, find their name in the list, and click the remove button directly across from their username.
  • If you have a private or restricted subreddit, use the “edit approved submitters” link to control who is able to post links in the same manner as controlling moderators. That is:
    • to add a submitter, type their username into the box at the top and hit enter
    • click the remove button next to the name of the person you’d like to remove.
  • Click “traffic stats” to view information about the number of people visiting your community.
  • Click “reported links” to view posts that community members believe need your attention. If a user thinks that a link is inappropriate for the community, they may report it, and it will show up on this page.
  • Click “spam” to view links that have been automatically filtered. Reddit filters out links that it thinks are junk. By telling it when things aren’t, and by removing inappropriate posts, the filter learns to better filter content, and can end up doing much of your moderation for you. See the section Moderating Links/Posts for more information.
  • Click “ban users” to prevent certain reddit users from contributing to your subreddit. The ban list is much like the moderators and approved submitters lists – type a user’s name in the box at the top and press enter to ban them, or click the remove button next to their name to un-ban them.

Reddit is one of the most popular websites. It hosts a considerable number of communities that share content on an astonishing number of topics. The Reddit block allows you to embed content from Reddit to your post. You do not need to have an account to be able to share the Reddit post. However, you can only embed publicly shared posts.

The screenshot below is an example of what an embed with the Reddit block may look like (in the TwentyTwenty theme):

The example above is from an URL that contains an image. However, you can also embed posts that contain only text. In that case, your embed may look like this:

Steps to embed a Reddit post

The Reddit block makes it quite simple to embed a Reddit post. These are the required steps:

  1. Go to the Reddit post you want to embed.
Plug-ins
  1. Copy the URL.
    You find the URL at the top of the screen (marked in red in the image below)
  1. Add a Reddit block to your post.
    The fastest way to add a block is to use the slash command. In the empty field in the block editor type “/reddit”. The Reddit block will appear, and you can click to select it and add it to the post. Alternatively, see the detailed instructions on how to add a block.

Detailed instructions on adding blocks can be found here.

  1. Paste the Reddit URL you copied into the block’s input field.
  1. Click the Embed button to embed the post.
    You will see a preview of the embedded post in your editor.

Note: In most cases, you should get this result. However, if the URL cannot be embedded, you will be notified with the message, “Sorry, this content could not be embedded.” In that case, you can try to embed an alternative URL or simply add the URL as a link instead of an embed.

Block Toolbar Block Toolbar

The toolbar of the Reddit blocks contains several useful buttons. Besides the Mover and Drag & Drop Handle, the Block Toolbar for the Reddit embed also features the buttons:

  • Transform to
  • Change alignment
  • Edit URL, and
  • More Options.

Transform to button

You can transform a Reddit embed into a Paragraph or a Group block.

Transforming it into a paragraph will turn the embed into a simple link.

Transforming the Reddit block into a Group block gives you the ability to change the Reddit embed’s background color.

Once you transform the embed into a Group block, you will get the Color settings in the sidebar (as seen in the image below, on the right)

Choose a color in the Background color settings, and the background will be added to the block.

The Change Alignment button

The change alignment button allows you to:

  • Align left – Make the Reddit post left-aligned.
  • Align center – Make the Reddit post alignment centered.
  • Align right – Make the Reddit post align right.
  • Wide width – Increase the width of the post beyond the content size.
  • Full width – extend the Reddit post to cover the full width of the screen.

Note: “Wide width” and “Full width” alignment need to be enabled by your site’s Theme.

The Edit URL button

Via the edit URL, you can change the Reddit Embed URL in the embed block. By doing that, you can also add another type of Embed, for example, from Facebook instead of Reddit. To do that, just paste the new URL in the input field, and click on the “Embed” button.

The More Options button

Clicking the three vertical dots reveals a menu with the following options:

Hide Block Settings

The Hide Block Settings option hides (or shows) the Block Setting panel in the editor’s sidebar.

Copy

Copy can be used to copy a selected block and then you can paste it wherever you want in the editor.

Duplicate

Duplicate can be used to duplicate selected block.

Insert Before

Insert a new block before the selected block(s).

Insert After

Insert a new block after the selected block(s).

Move To

If you select Move To, you will get a blue line inside your content, you can then use the arrows to move that line up and down to where you want the selected content to be moved into, hitting return on your keyboard at that point moves the block to that position.

Edit as HTML

The Edit as HTML option allows you to modify the HTML code of the embed block.

Reddit Wordpress

Add to Reusable blocks

Reddit Wordpress Plugin

Using the Add to Reusable blocks option lets you add the selected block to a list of reusable blocks, so you can use them on other posts or pages as well.

Group

Select the Group option if you want to create a group of blocks and treat them as a unit. You can for instance add a common background color or other blocks to the group.

Remove Block

With the Remove Block option, you can delete the selected block from your content.

Block settings Block settings

Besides the Advanced section, the Reddit embed has only one setting in the “Block Settings” sidebar: Media Settings.

Media Settings

Via the Media Settings you can control the behavior of your post embed when viewed from a smaller device, like on a phone screen.

The Toggle switch turns on or off the resize functionality for smaller devices. The default setting is “on” or blue.

Reddit Wordpress Hosting

“Off:” This embed may not preserve its aspect ratio when the browser is resized. In the off position the toggle switch is gray.

“On:” This embed will preserve its aspect ratio when the browser is resized. The toggle switch turns blue in the “On” position.

Advanced

The advanced tab lets you add a CSS class to your block, allowing you to write custom CSS and style the block as you see fit.