Using Media & Links
Using Media in WordPress
Links
Creating/Editing Links
- Highlight the text or media you wish to turn into a link.
- Use the chain “link” icon in the visual editor to create a link.
Open in a New Window
This setting is located in the link options (gear icon) feature of a link in the WordPress visual editor.
Use the “Open in a New Window” checkbox when linking to a source outside of RDW.
If you are linking to content on RDW leave this option unchecked.
Text link to a YouTube Video
There are two urls you can use when linking to a video:
- The browser address url (ex:
https://www.youtube.com/watch?v=S2W2RzuRux0) - The sharing url (ex:
https://youtu.be/5PWrYrLsIVE)
In order for the video to appear on the RDW site in a nice lightbox popup, link to the browser address url.
Text Link to a Youtube Video To Start At A Specific Time
Again use the browser address url for the video and add the following at the end of the url:&start[time in seconds]
https://www.youtube.com/watch?v=FRP0MBNoieY&start=90
Text link to a Vimeo Video
coming soon
Linking in WordPress Tutorial
Embedding Media
Embedding media is the process of displaying video, audio or images within your content. There are typically lots of different ways to go about it, and we’ve listed the preferred methods below.
Please use these methods below as it will ensure visual continuity of the site and future-proofing of the site.
Embedding Videos
Embedding YouTube Videos
By default, Wordress will automagically display YouTube videos and a player for them if you simply paste the browser address url (see above example) into a page/post.
However, this player does not display properly on smaller devices and can actually break the look of the site. So…
How to Properly Embed a YouTube Video
Instead of simply pasting an url, use the RDW Video Shortcode method instead.
It will allow us to control the player code easily and instantly update all references that use this shortcode across the entire site. Plus, it looks great on all devices! And because I said so… 😉
Embedding a Youtube Video To Start At A Specific Time
See the RDW Video Shortcode method instead.
Embedding Vimeo Videos
Just like the problem we have with the YouTube player – so goes it with the Vimeo Player as well. So use the RDW Video Shortcode method for them too.
Keeping Videos From Opening In Lightbox
Add the following to the HREF link:
data-rel="norl"
Embedding NextGen Galleries
Because the NextGen gallery “wizard” is a little buggy, we suggest using a shortcode to manually call a gallery. It will also allow you to pull images from multiple galleries by using the shortcode method.
[[ngg_images gallery_ids="#,#,#..." image_ids="#,#,#,#..." display_type=photocrati-nextgen_pro_horizontal_filmstrip]]
NextGen Gallery
Albums
[[ngg_images album_ids="###" display_type="photocrati-nextgen_pro_grid_album"]]
Galleries
[[ngg_images gallery_ids="###" display_type="photocrati-nextgen_rdw"]]
When using an NGG Gallery in a podcast article use the following:
[[ngg_images gallery_ids="#,#,#..." image_ids="#,#,#,#..." display_type=photocrati-nextgen_pro_horizontal_filmstrip]]
When in a normal article and you want a set of thumbnails use this:
[[ngg_images gallery_ids="#,#,#..." image_ids="#,#,#,#..." display_type=photocrati-nextgen_pro_thumbnail_grid]]
