Skip to content

Instantly share code, notes, and snippets.

@R3V1Z3
Created July 21, 2014 18:43
Show Gist options
  • Save R3V1Z3/915b62d8f20ac2155ba1 to your computer and use it in GitHub Desktop.
Save R3V1Z3/915b62d8f20ac2155ba1 to your computer and use it in GitHub Desktop.
Very simple, relatively empty page template for use with WPMU DEV Chat plugin to facilitate chats in popup window.
<?php
/**
Template Name: Chat Template
*/
?>
<html>
<head>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<style type="text/css">
#page-content { width: 100%; margin: 20px auto; }
div.chat-block-site {display: none;}
div#wpadminbar {display: none;}
</style>
<title>Chat</title>
<?php wp_head(); ?>
</head>
<body>
<?php while (have_posts()) : the_post(); ?>
<div id="page-content">
<?php the_content(); endwhile; ?>
</div>
</body>
<?php wp_footer(); ?>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment