WordPress.org

Make WordPress Core

Ticket #20509: generic.php

File generic.php, 549 bytes (added by johnjamesjacoby, 6 years ago)
Line 
1<?php
2/**
3 * The template for displaying generic content
4 *
5 * This is the template that displays generic content.
6 * Please note that this is used only by third party plugins,
7 * and that 'pages' and 'posts' on your WordPress site will use a
8 * different template.
9 *
10 * @package WordPress
11 * @subpackage Twenty_Eleven
12 * @since Twenty Eleven 1.0
13 */
14
15get_header(); ?>
16
17                <div id="primary">
18                        <div id="content" role="main">
19
20                                <?php do_action( 'generic_content' ); ?>
21
22                        </div><!-- #content -->
23                </div><!-- #primary -->
24
25<?php get_footer(); ?>