revslider-page-template.php 949 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. /**
  3. * Template Name: Slider Revolution Blank Template
  4. * Template Post Type: post, page
  5. * The template for displaying RevSlider on a blank page
  6. */
  7. ?>
  8. <!DOCTYPE html>
  9. <html <?php language_attributes(); ?> class="no-js">
  10. <head>
  11. <meta charset="<?php bloginfo( 'charset' ); ?>">
  12. <meta name="viewport" content="width=device-width">
  13. <link rel="profile" href="http://gmpg.org/xfn/11">
  14. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
  15. <?php wp_head(); ?>
  16. <style type="text/css">
  17. body:before { display:none !important}
  18. body:after { display:none !important}
  19. body { background:transparent}
  20. </style>
  21. </head>
  22. <body <?php body_class(); ?>>
  23. <div>
  24. <?php
  25. // Start the loop.
  26. while ( have_posts() ) : the_post();
  27. // Include the page content template.
  28. echo do_shortcode( get_the_content() );
  29. // End the loop.
  30. endwhile;
  31. ?>
  32. </div>
  33. <?php wp_footer(); ?>
  34. </body>
  35. </html>