SHARE
TWEET

kode theme page iframe wordpress

pustakakoran Oct 25th, 2018 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /**
  3.     Template Name: Content Only
  4. */
  5. ?>
  6. <html>
  7. <head>
  8.    <title><?php wp_title( '|', true, 'right' ); bloginfo('url'); ?></title>
  9.    <style>
  10.        html,body,div,iframe {height:100%;}
  11.        p {position:relative;overflow:hidden;}
  12.        iframe {border:none;width:100%;}
  13.        body {margin:0;padding:0;}
  14.    </style>
  15. </head>
  16.  
  17. <body>
  18.       <?php while (have_posts()) : the_post(); ?>
  19.       <?php the_content(); endwhile; ?>
  20. </body>
  21. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top