How do I use an iFrame for my header in WordPress twenty seventeen?

This is possible, but it’s not a best practice. Animations are cool, but iframes add complications and slow down the page load speed. If you want to see what it looks like, edit this file: ../wp-content/themes/twentyseventeen/template-parts/header/header-image.php And change the custom header div to this: <div class=”custom-header”> <iframe scrolling=”no” width=”100%” height=”1000px” src=”http://robinseggstudio.com/homePage_12-5c/RobinSketch/”></iframe> </div><!– .custom-header –>

Designing a plugin that uses an iFrame to process data in admin

You could target admin-post.php to do the processing via the admin_post_$youraction hook: This hook allows you to create custom handlers for your own custom GET and POST requests. The admin_post_ hook follows the format “admin_post_$youraction”, where $youraction is your GET or POST request’s ‘action’ parameter. You can output the URL via admin_url( ‘admin-post.php?action=add_foobar’ ). Then … Read more

Dynamic URL and pass the data to an iframe

Step 1: Create a page with slug ‘profile’ in your WordPress Dashboard. Step 2 Use this function to register profileId var. add_filter(‘query_vars’, ‘wp233_query_vars’); function wp233_query_vars( $query_vars ){ $query_vars[] = ‘profileId’; return $query_vars; } And add a rewrite rule to wordpress like this: add_action( ‘init’, ‘wp233_add_rewrite_rules’ ); function wp233_add_rewrite_rules() { add_rewrite_rule( ‘^profile/([^/]+)?$’, ‘index.php?pagename=profile&profileId=$matches[1]’, ‘top’); } Step … Read more