Skip to content

Instantly share code, notes, and snippets.

@Fohlen
Created March 31, 2015 12:44
Show Gist options
  • Save Fohlen/59dde06b0b6372788048 to your computer and use it in GitHub Desktop.
Save Fohlen/59dde06b0b6372788048 to your computer and use it in GitHub Desktop.
Spacious Page Template to submit bugs via https://wordpress.org/plugins/bug-library/
<?php
/**
* Template Name: Bug Submit Page Template
*
* Displays the Bug Library Bug Submit Template.
*
* @package ThemeGrill
* @subpackage Spacious
* @since Spacious 1.0
*/
?>
<?php get_header(); ?>
<?php do_action( 'spacious_before_body_content' ); ?>
<div id="primary">
<div id="content" class="clearfix">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<div id="bug-library">
<?php include (WP_PLUGIN_DIR . '/bug-library/submitnewissue.php');?>
</div>
<?php endwhile; ?>
</div><!-- #content -->
</div><!-- #primary -->
<?php spacious_sidebar_select(); ?>
<?php do_action( 'spacious_after_body_content' ); ?>
<?php get_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment