It can only contain content from websites or web pages that use the same HTTP (Hypertext Transfer Protocol) as. That is, if a website uses HTTPS (Hypertext Transfer Protocol Secure), it can only contain the content of other websites that use HTTPS. This also applies to http. The
HTTPS is recommended by Google and used on most well-known websites. Even in your case, you should be able to easily embed high-quality web pages. The more serious security problem is the potential security vulnerability that iframe may bring to the website. An iframe is a window to another page, so anything that happens on that page can affect your page. You can also use iframe to insert malicious code into a web site. Iframe just opens the windows of other websites and does not necessarily prevent the source website from using malicious code. The
A simple change to this is to use iframes to include content from reputable websites. Use sandbox properties in iframe for advanced security settings. For more information, we will discuss it when we discuss how to create an iframe. Male male Google is not a big fan of iframe. Google does not recommend using iframe, but if necessary, just provide text-based links to the same content, and Google robots can scroll the content. These warnings may sound surprising, but don’t worry if you follow the best practices to be shared in this guide. The
Not all websites can make content into iframes. As we write this article, we often see the possibility that most large web sites disable the display of content in iframes. There is not much you can do about the web pages that you want to display through iframe. The methods of using iframe in WordPress (3 methods) now know what iframe is and when it can be used, so I will show you various methods of integrating iframe in WordPress. Let’s start by demonstrating how to use pre generated built-in code, then manually create the iframe, and finally look at how to use the plug-in. Everyone can easily learn and apply! Male 1 Using imbed code, iframe imbed is probably the easiest method, but it is usually only applicable to websites that provide code in their content. When the code is provided, it can usually be found in the available sharing options. For example, on youtube, click the share icon below the video to display the code. Click the built-in icon to import the iframe code. Just copy the code and paste it onto the web page with HTML blocks. Block is a new way to build WordPress websites using the newer Gutenberg builder. The Gutenberg builder is available with the basic block product family that contains HTML blocks. Although there are specific YouTube blocks, you can use one of them. You can use additional plug-ins such as ultimate add ons for Gutenberg to extend Gutenberg’s scope. You can also use HTML blocks in the WordPress parent page builder. Male paste the built-in code into the new HTML block, as shown below. Preview the code in the example: To use iframes without the default built-in code of the source website, just paste the following code line into the HTML block. This is a basic example of what iframe code looks like. The code in the previous example is much longer