Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Set GeneratePress Theme Container in JKit Template
- */
- /** For Header */
- function add_custom_attribute_after_header() {
- /**
- * Template from header.php of GeneratePress Theme
- */
- ?>
- <div <?php generate_do_attr( 'page' ); ?>>
- <?php
- /**
- * generate_inside_site_container hook.
- *
- * @since 2.4
- */
- do_action( 'generate_inside_site_container' );
- ?>
- <div <?php generate_do_attr( 'site-content' ); ?>>
- <?php
- /**
- * generate_inside_container hook.
- *
- * @since 0.1
- */
- do_action( 'generate_inside_container' );
- }
- add_action( 'jkit_header', 'add_custom_attribute_after_header', 999 );
- /** For Footer */
- function add_custom_attribute_before_footer() {
- /**
- * Tempalte from footer.php of GeneratePress Theme
- */
- ?>
- </div>
- </div>
- <?php
- }
- add_action( 'jkit_footer', 'add_custom_attribute_before_footer', -999 );
- /**
- * END Set GeneratePress Theme Container in JKit Template
- */
Add Comment
Please, Sign In to add comment