Tim Boulley
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Developing with WordPress
In reply to: Cross-Domain Iframe Login Not Working in Google ChromeHi Louis,
Thank you kindly for the direction in resolving this issue! Worked like a charm.
Thanks again!
Forum: Developing with WordPress
In reply to: How can I process form data using nonce verificationThank you! I have resolved the issue.
Cheers!
Forum: Developing with WordPress
In reply to: How can I iframe a local page rather than a remote page?THANK YOU!! That did the trick. ??
Happy Holidays to you and yours!
Forum: Developing with WordPress
In reply to: How can I iframe a local page rather than a remote page?Hi Threadi,
Thank you very much for your reply! Here is the code I am using:
add_action( 'admin_menu', 'test_plugin_admin_menu' ); function test_plugin_admin_menu() { add_menu_page( 'Test Plugin Menu', 'Test Plugin', 'manage_options', 'test-plugin/test-plugin-admin-page.php', 'test_plugin_admin_page', 'dashicons-art', 6 ); add_submenu_page( 'test-plugin/test-plugin-admin-page.php', 'Test Page Menu', 'Test Page', 'manage_options', 'test-plugin/test-plugin-admin-sub-page.php', 'test_plugin_admin_sub_page' ); } function run_test_plugin() { $plugin = new Test Plugin(); $plugin->run(); } function test_plugin_admin_page(){ ?> <div class="wrap"> <iframe id="TestPluginFrame" style="width:100%;height:1000px;border:0;" src="https://mysite.com/test.php"></iframe> </div> <?php } function test_plugin_admin_sub_page(){ ?> <style> iframe { width: 1px; min-width: 100%; } </style> <div class="wrap"> <iframe id="testpageIframe" src="https://mysite.com/test.php"></iframe> </div> <?php } run_test_plugin();
- This reply was modified 1 year, 2 months ago by Tim Boulley.
Forum: Developing with WordPress
In reply to: Setting Image Size in PHPHi Michal,
Thank you very much for your quick response, and thank you for your suggestion, as that corrected the issue. I was using single quotes which was producing an error.
Cheers!
Viewing 5 replies - 1 through 5 (of 5 total)