Created
July 29, 2016 02:40
-
-
Save cpaul007/758e7a9b41b9121cd4f31b3413f307fc to your computer and use it in GitHub Desktop.
Move entry meta above the entry title
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Moving the entry meta above the entry title | |
* | |
* @author Chinmoy Paul | |
* @link http://genesisdeveloper.me | |
* @copyright Copyright (c) 2015 - 2016 Genesis Developer | |
* @license GPL - 2.0+ | |
*/ | |
//* Remove entry footer functions | |
remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_open', 5 ); | |
remove_action( 'genesis_entry_footer', 'genesis_post_meta' ); | |
remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_close', 15 ); | |
//* Add the entry meta above the entry title | |
add_action( 'genesis_entry_header', 'genesis_post_meta', 6 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you want for single post details page then you can try this code