A solution I can think of is creating an almost empty page template that contains the bare minimum header
, body
(your shortcode) and footer
.
Create a page with this template and load iFramed.
Like:
<?php
/**
* Template Name: Almost Empty Page for Thickbox
*/
// REPLACE THIS get_header WITH THE CONTENTS OF THE FILE header.php
// AND CLEAN UP EVERYTHING THAT'S NOT NEEDED
get_header();
?>
<div id="container" class="one-column">
<div id="content" role="main">
<?php
do_shortcode(); // YOUR SHORTCODE
?>
</div>
</div>
<?php
// REPLACE THIS get_footer WITH THE CONTENTS OF THE FILE footer.php AND CLEAN UP
get_footer(); ?>
Related Posts:
- Adding jquery and thickbox to WordPress theme
- Lightbox popup on WooCommerce add_to_cart action
- Using the WordPress Media Library and returning the Attachment ID rather than URL?
- Dropzonejs with WPCF7 [closed]
- include shortcode values in Thickbox form
- Adding URL of PDF from Thickbox in a Meta Box
- Jquery contact form to send mail to admin [closed]
- Contact form 7 issue with jquery – hiding/showing fields [duplicate]
- echo do_shortcode for Contact Form 7 from within dynamically loaded php file
- How to modify iFrame content in an admin thickbox
- Multiple recaptcha validation
- Are you sure popup on Contact Form 7 [closed]
- Contact Form 7 submission does not complete [closed]
- Contact Form 7 checkbox to add a new class to a div [closed]
- Contact Form 7 – Submit Form not working After Ajax Request [closed]
- CF7 Populate Text Field Based On Checkbox Checked
- How to send multiple data fields via Ajax?
- Adding an onclick function to go to url in JavaScript?
- Checking a Url in Jquery/Javascript
- Download File Using jQuery
- Jquery Ajax Posting JSON to webservice
- How can I display a tooltip message on hover using jQuery?
- correct way of comparing string jquery operator =
- JQuery: $.get is not a function
- Split string in jquery
- Detecting value change of input[type=text] in jQuery
- Javascript : array.length returns undefined
- Comparing dates in jquery
- jQuery: using a variable as a selector [duplicate]
- Slide right to left?
- jQuery – checkbox enable/disable
- Correct Method to run scripts with dependencies without enqueue?
- How to prevent wordpress from loading old versions of jquery in wp_head();?
- How to get a jQuery script to run on a page?
- Moving jQuery to the footer without using de-register in WordPress
- Best approach for loading a sidebar Only if the screen max-width is >900px?
- Localize variable for multiple Shortcodes
- Including jQuery in WordPress
- Prevent five different copies of jquery from being included on every page
- javascript is not working on Event Submission?
- WordPress audio player causing js error, mediaelementplayer is not a function
- How to get a value from PHP in Jquery through Ajax
- Script for initializing JQuery Masonry for WordPress
- Combining media queries with image sizes
- Correct way to write jQuery functions in WordPress
- How can I make this custom menu work?
- Use jQuery to conditionally hide elements in Quick Edit
- AJAX Loaded Glossary like Search results with links to other entries from custom table
- Trouble with WordPress Ajax Login System – 302
- Why does javascript works only if logged in?
- Load the next posts ajax
- How does WordPress handle HTML Tables interaction with jQuery
- what’s the best way to add a class to the div with a class of post every 4 seconds using jquery? [closed]
- Delete some text and change html tag with Jquery
- Problem passing id-specific objects to javascript via wp_localize_script
- I am trying to modify a plugin and am adding Jquery, but it does not seem to be executing
- FacetWP – conditionally display facet labels
- Callback After WordPress Customizer Complete Loading
- Uncaught ReferenceError: jQuery is not defined . How do I define it correctly?
- Close Fancybox, sumbit form data and redirect
- Properly embed javascript into WP (using function.php) – doesn’t work?
- jQuery tabs plugin with callback to fetch data
- jQuery is not defined [closed]
- Nested Gallery Shortcode INTERMITTENTLY working
- Best way of getting a a series of custom fields into an array?
- JQuery UI not loading without explicit loading of jQuery
- Is it OK combined wp-include js, jquery, css? [closed]
- Including Older Version of jQuery for IE7/IE8
- Why won’t the Jquery validation plugin work?
- JQuery load php – php file without the template
- jQuery .load and WP function
- Determine image height within Fancybox
- How to display contact form 7 form in vanilla js without jquery in frontend
- How can I get this menu container to be the height of the contents?
- JQuery is not working after complete load of the page
- I am trying to load a Js Dynamic Audio Synth [closed]
- Carousel Slider For Custom PHP Snippet Is Not Working
- why does so many javascript libraries are loaded along with my website?
- Why does my media selection script write to ONLY the first input field?
- Modify the href attribute of tag dynamically in WordPress
- Add a jQuery snippet for sepcific user role
- Move jQuery on *top* of footer
- Call admin ajax using absolute url? Relative URL breaks (frontend ajax)
- Dynamic image grid gallery
- Responsive framework – edit child js
- Page keeps refreshing with Ajax form
- jquery issue in functions.php
- JS plugin script loading but not working
- WP Calendar Shortcode not working on my theme
- change the icon of a custom post type in WordPress to use twitter boostrap
- Using jQuery toggle() in WordPress post to show/hide Tweet button?
- Call a Simple JQuery from within Flash
- Ajax request with jQuery without WP_ajax
- JS file not loading [closed]
- How can insert JQuery in WordPress? [closed]
- I need a Pop up with description when i click an image
- Jquery in IE, fully messed up
- Fire an event after Featured Image selection
- Elementor form – checkboxes validation
- How to add input file plain text and submit to publish?