Si të shtoni & ngulitni video, imazhe, cicërima & përmbajtje tjetër në faqen tuaj

Shkruar nga

në

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.

Permalidhjet kanë shumë forma dhe pamje, por zakonisht ato duken si kjo më poshtë. Kjo vjen nga YouTube:

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

Mund t’i ngjitni këto URL në redaktuesin e përmbajtjes për të ngulitur përmbajtjen. Nëse mund të ngulitet, do të shihni që URL-ja do të konvertohet në videon ose përmbajtjen aktuale. Nëse jo, atëherë kjo do të thotë se nuk mund të futni përmbajtje nga ajo faqe.

Cilat faqe mund të ngulit në faqen time?

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

Instalimi i shtojcave mund të shtojë më shumë faqe që mund të nguliten

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

Një mënyrë tjetër për të shtuar përmbajtje – Kodet e ngulitjes Iframe

Nëse thjesht ngjitja e URL-së nuk funksionon, ekziston edhe një mënyrë tjetër për të ngulitur përmbajtje. Provoni dhe kontrolloni opsionet e shpërndarjes së faqes që dëshironi të përfshini, përveç permalidhjes, mund t’ju jepet gjithashtu një pjesë e vogël “kodi ngulitjeje”. Kodet e ngulitjes duken kështu:

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

Përdorni Page Builder Sandwich për të shtuar përmbajtje nga faqe të tjera nga frontendi

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 i bën gjërat më të lehta duke ju lejuar të redaktoni faqen tuaj aktuale të gjithën nga frontendi. Kur përdorni Page Builder Sandwich, ju shkruani dhe redaktoni përmbajtjen e faqes suaj lehtësisht. Ngulitja e përmbajtjes nga faqe të tjera është gjithashtu shumë më e lehtë.

Me Page Builder Sandwich, thjesht ngjisni ose permalidhjen ose kodin e ngulitjes iframe kudo në pjesën e përparme të faqes suaj dhe ajo do të konvertohet menjëherë në përmbajtjen e ngulitur, pa pasur më nevojë të dini se në cilën skedë duhet të ngjisni gjërat.

Merrni Page Builder Sandwich tani.