There may be times where you want to add supporting videos from YouTube or Vimeo into your site. Or maybe you want to add Tweets from Twitter, or content from other websites like Flickr and Instagram. You can embed these content easily in your WordPress site.
To do this, all you need to do is find the permalink for the content. In some sites like YouTube, the permalink is simply the current URL. For other sites like Reddit or Vimeo, you’ll have to find the “permalink”, “share” or “embed” button to get the URL. In some sites like Facebook, you’ll have to click the date of the status or post in order to get the permalink.
Ang mga permalink ay may maraming hugis at anyo, ngunit karaniwan ay ganito ang hitsura ng mga ito sa ibaba. Ang isang ito ay nagmula sa YouTube:
https://www.youtube.com/watch?v=dQw4w9WgXcQ
Maaari mong i-paste ang mga URL na ito sa content editor upang i-embed ang content. Kung maaari itong i-embed, makikita mong magiging aktwal na video o content ang URL. Kung hindi, nangangahulugan iyon na hindi ka maaaring magpasok ng content mula sa site na iyon.
Anong mga Site ang Maaari Kong I-embed sa Aking Site?
Not all sites can be embedded into your WordPress site. The WordPress Codex has a list of sites which you can embed: https://codex.wordpress.org/Embeds
Ang Pag-install ng mga Plugin ay Maaaring Magdagdag ng Mas Maraming Site na Pwedeng I-embed
If the content you want to embed isn’t in the list in the WordPress Codex, there is another way. Installing plugins can add more embeddable sites. For example, installing Jetpack allows you to embed wall posts from Facebook.
There are plenty more out there that add more sites, do a search for “oEmbed provider” in the WordPress.org plugin repository to find more. Here’s a link to the plugin repo for your convenience: https://wordpress.org/plugins/search.php?type=term&q=oembed+provider
Isa Pang Paraan para Magdagdag ng Content – Mga Iframe Embed Code
Kung ang pag-paste lang ng URL ay hindi gumagana, may isa pang paraan para mag-embed ng content. Subukan at suriin ang mga opsyon sa pagbabahagi ng site na nais mong isama, bukod sa permalink, maaari ka ring bigyan ng maliit na piraso ng “embed code”. Ganito ang hitsura ng mga embed code:
<iframe width="420" height="315" src="https://www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" allowfullscreen></iframe>
Copy that then in your WordPress content editor, click on the text tab on the top of the editor and paste that in. After you’ve pasted that in, head back to the visual tab, you’ll see if it works when the embed code now looks like the actual content that will get embedded. You can’t do this in the visual tab, pasting it from there would just show the pasted code in your site, it won’t get converted into the content.
Gamitin ang Page Builder Sandwich para Magdagdag ng Content mula sa Ibang mga Site mula sa Frontend
While adding content from other sites seem easy, doing things in the administration side of WordPress is a bit of a hassle. You have to know whether to add it in the visual tab or text tab, and you’ll have to preview your page or post in order to see how it would look like when viewed by your site’s visitors.
Pinapadali ng Page Builder Sandwich ang mga bagay-bagay sa pamamagitan ng pagpapahintulot sa iyong i-edit ang iyong aktwal na site mula mismo sa frontend. Kapag ginamit mo ang Page Builder Sandwich, madali mong masusulat at mae-edit ang content ng iyong site. Mas madali rin ang pag-embed ng content mula sa iba pang mga site.
Gamit ang Page Builder Sandwich, i-paste lang ang permalink o ang iframe embed code saanman sa harap ng iyong site at agad itong iko-convert sa naka-embed na content, hindi na kailangang alamin kung saang tab mo kailangang i-paste ang mga bagay.