This file contains 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
if ( ! function_exists( 'generate_posted_on' ) ) : | |
/** | |
* Prints HTML with meta information for the current post-date/time and author. | |
*/ | |
function generate_posted_on() { | |
if ( 'post' !== get_post_type() ) | |
return; | |
$date = apply_filters( 'generate_post_date', true ); |
This file contains 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
if ( ! function_exists( 'generate_archive_title' ) ) : | |
/** | |
* Build the archive title | |
* | |
* @since 1.3.24 | |
*/ | |
add_action( 'generate_archive_title','generate_archive_title' ); | |
function generate_archive_title() | |
{ | |
?> |
This file contains 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 | |
/** | |
* [list_searcheable_acf list all the custom fields we want to include in our search query] | |
* @return [array] [list of custom fields] | |
*/ | |
function list_searcheable_acf(){ | |
$list_searcheable_acf = array("title", "sub_title", "excerpt_short", "excerpt_long", "xyz", "myACF"); | |
return $list_searcheable_acf; | |
} |
This file contains 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
add_action( 'wp','generate_move_featured_image' ); | |
function generate_move_featured_image() | |
{ | |
remove_action('generate_after_header','generate_featured_page_header', 10); | |
add_action('generate_after_header','generate_featured_page_header', 4); | |
} |
NewerOlder