public static function headway_whitewrap_close_ob_get_clean() { self::$plugin_template_generic_content = ob_get_clean(); /* Hook generic content */ add_action('generic_content', array(__CLASS__, 'display_generic_content')); /* Display grid in between header and footer */ self::grid(); }
<?php /* Prevent direct access to this file */ if (!defined('WP_CONTENT_DIR')) { die('Please do not access this file directly.'); } HeadwayDisplay::html_open(); wp_head(); HeadwayDisplay::body_open();
<?php /* Prevent direct access to this file */ if (!defined('WP_CONTENT_DIR')) { die('Please do not access this file directly.'); } /* WordPress and a lot of plugins require the function in this file, so I guess we have to use it :-(. */ wp_footer(); HeadwayDisplay::body_close(); HeadwayDisplay::html_close();
<?php /** * Main template file used for Headway. * * @author Clay Griffiths * @package Headway **/ /* Prevent direct access to this file */ if (!defined('WP_CONTENT_DIR')) { die('Please do not access this file directly.'); } HeadwayDisplay::layout();