KupieTools Embed Page
WordPress plugin providing additional URL paths and parameters to render a WP page as minimal, customizable embeddable text or HTML.
by Michael Kupietz · github.com/kupietools/ktwp-wp-plugin-embed-page · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/kupietools/ktwp-wp-plugin-embed-page/archive/refs/heads/main.zipDeclares an update source (https://michaelkupietz.com/my-plugin/kupietools-embed-page/), so updates arrive through the plugin's own updater.
Readme
KupieTools Embed Page
A WordPress plugin that enables clean, embeddable versions of your content through simple URL patterns like /embed/ or ?embed parameters, perfect for iframes and content sharing.
Features
- Creates embeddable versions of any WordPress page or post
- Supports two URL patterns:
/embed/path or?embedquery parameter - Preserves embed parameters during WordPress redirects
- Clean, minimalist output focused on content
- Optional parameters for customizing embedded content:
?title- Include the post title?tags- Include post categories and tags?byline- Include author information?text- Output as plain text instead of HTML
- Proper canonical URL tags to maintain SEO best practices
- Copyright notice automatically added to embedded content
- Responsive design with sanitized styles
- Automatic disabling of certain plugins in embedded view
How It Works
- The plugin intercepts requests containing
/embed/or?embed - It buffers the output and replaces the standard WordPress template
- Only the essential content is rendered, with optional elements based on parameters
- Special handling ensures proper redirects while maintaining embed status
- Canonical links ensure proper SEO attribution
- Optional plain text mode for non-HTML embedding scenarios
Use Cases
- Embed WordPress content in iframes on other sites
- Create embeddable versions of articles for content syndication
- Provide clean, content-only views for specific applications
- Generate plain text versions of content for feed readers or text-based clients
- Easily share WordPress content while maintaining attribution
URL Parameters
/embed/or?embed- Activates embedded view?title- Includes the post title?tags- Shows post categories and taxonomies?byline- Displays author information?text- Outputs content as plain text
Example URLs
https://yourdomain.com/your-post/embed/https://yourdomain.com/your-post/?embed&title&bylinehttps://yourdomain.com/your-post/embed/?texthttps://yourdomain.com/embed/?p=1234&title&texthttps://yourdomain.com/?p=1234&embed&title&tags
Installation
- Upload the plugin files to the
/wp-content/plugins/ktwp-embed-pagedirectory - Activate the plugin through the WordPress admin interface
- Access any post with
/embed/appended to the URL or?embedquery parameter
License
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.