ඔබේ වෙබ් අඩවියට වීඩියෝ, පින්තූර, ට්වීට් සහ වෙනත් අන්තර්ගතයන් එකතු කරන්නේ සහ කාවද්දන්නේ කෙසේද

ලියන ලද්දේ

තුළ

How-to-Add-and-Embed-Videos-Images-Tweets-and-Other-Content-in-Your-SiteThere 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.

Permalinks විවිධ හැඩතල සහ ආකාරවලින් පවතී, නමුත් සාමාන්‍යයෙන් ඒවා පහත දැක්වෙන ආකාරයට දිස්වේ. මෙන්න මේක YouTube වෙතින් ලබාගත් එකකි:

https://www.youtube.com/watch?v=dQw4w9WgXcQ​

අන්තර්ගතය කාවැද්දීම (embed) සඳහා ඔබට මෙම URL අන්තර්ගත සංස්කාරකයේ (content editor) ඇලවිය හැක. එය කාවැද්දිය හැකි (embeddable) එකක් නම්, URL එක සැබෑ වීඩියෝව හෝ අන්තර්ගතය බවට පරිවර්තනය වන බව ඔබට දැක ගත හැකිය. එසේ නොවන්නේ නම්, එයින් අදහස් වන්නේ ඔබට එම වෙබ් අඩවියෙන් අන්තර්ගතය ඇතුළත් කළ නොහැකි බවයි.

මගේ වෙබ් අඩවියේ කාවැද්දිය හැක්කේ කුමන වෙබ් අඩවිද?

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

Plugins ස්ථාපනය කිරීමෙන් කාවැද්දිය හැකි තවත් වෙබ් අඩවි එක් කළ හැක

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

අන්තර්ගතය එක් කිරීමට තවත් ක්‍රමයක් – Iframe Embed කේත

URL එක පමණක් ඇලවීම සාර්ථක නොවන්නේ නම්, අන්තර්ගතය කාවැද්දීමට තවත් ක්‍රමයක් තිබේ. ඔබට ඇතුළත් කිරීමට අවශ්‍ය වෙබ් අඩවියේ බෙදාගැනීමේ විකල්ප (sharing options) පරීක්ෂා කර බලන්න, permalink එකට අමතරව ඔබට කුඩා “embed code” එකක් ද ලැබිය හැක. Embed කේත මෙන්න මේ ආකාරයෙන් දිස්වේ:

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

Frontend එකේ සිට අනෙකුත් වෙබ් අඩවිවලින් අන්තර්ගතය එක් කිරීමට Page Builder Sandwich භාවිතා කරන්න

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.

Page Builder Sandwich මඟින් ඔබේ වෙබ් අඩවිය සම්පූර්ණයෙන්ම frontend එකෙන් සංස්කරණය කිරීමට ඉඩ සලසමින් කාර්යයන් පහසු කරයි. ඔබ Page Builder Sandwich භාවිතා කරන විට, ඔබේ වෙබ් අඩවියේ අන්තර්ගතය පහසුවෙන්ම ලිවීමට සහ සංස්කරණය කිරීමට හැකියාව ලැබේ. අනෙකුත් අඩවි වලින් අන්තර්ගතය කාවැද්දීම ද වඩාත් පහසු වේ.

Page Builder Sandwich සමඟ, permalink එක හෝ iframe embed කේතය ඔබේ වෙබ් අඩවියේ ඉදිරිපස ඕනෑම තැනක අලවන්න, එවිට එය වහාම කාවැද්දූ අන්තර්ගතය බවට පරිවර්තනය වේ, ඔබ දේවල් ඇලවිය යුත්තේ කුමන tab එකේදැයි තවදුරටත් දැන ගැනීමට අවශ්‍ය නොවේ.

Page Builder Sandwich දැන්ම ලබා ගන්න.