WordPress.org

Plugin Directory

Website Content in Page or Post – Embed website content in posts and pages

Website Content in Page or Post – Embed website content in posts and pages

Descrição

Fetches the content of another webpage or URL to display inside the current post or page.

Please note that this plugin previously used file_get_contents(), but it’s no longer recommended.

Starting now, this plugin utilizes the wp_remote_get() and wp_remote_retrieve_body() functions to retrieve content from URLs.

This plugin contains code adapted from the original work by horshipsrectors

Instalação

To install the plugin, please upload the folder to your plugins folder and active the plugin.

Perguntas frequentes

Where do I ask questions about this plugin?

Questions can be directed to the WordPress support forums.

How do I use the plugin?

Once installed, you can include the shortcode [horshipsrectors_get_html URL] in a page or post to fetch and display the target URL.

Can I force the plugin to use file_get_contents() or CURL?

Yes, use [horshipsrectors_get_html_get URL] or [horshipsrectors_get_html_curl URL] instead of the default [horshipsrectors_get_html URL]

Why can’t I see anything?

While displaying the shortcode on WordPress, the closing bracket appears to be lost. Please ensure you’re closing the shortcode properly.

Avaliações

3 setembro, 2016
Poor descrpiption of how to use it
Leia todas as 5 avaliações

Colaboradores e desenvolvedores

“Website Content in Page or Post – Embed website content in posts and pages” é um programa de código aberto. As seguintes pessoas contribuíram para este plugin.

Colaboradores

Registro de alterações

2026.09.18

  • Much faster pages. The remote page was fetched again on every single visit, and the visitor waited for it; if the remote server was slow the page could hang for up to thirty seconds. Content is now cached for an hour, and a remote site that is down no longer costs every visitor a wait.
  • Fixed: only the body of the remote page is inserted now. Previously the whole document was processed, so the remote page’s title leaked into your content as loose text and its stylesheet came along with it — able to restyle your entire page. A DOCTYPE and nested html and body tags ended up inside your post too.
  • Fixed: a deprecation warning was written to the error log on every request on PHP 8.2 and later.
  • Certificate verification is no longer disabled when fetching a page, and the plugin identifies itself honestly instead of pretending to be a browser.
  • Updated for Elementor 3.5 and later.
  • Fixed: translations never loaded. The plugin declared a text domain that did not match its slug, so the language packs from WordPress.org could not be found. They will work from this release on.
  • Tested up to WordPress 7.1.