Lines:
1 to 47 of 47
<?php /** * Custom template tags for Twenty Fifteen * * Eventually, some of the functionality here could be replaced by core features. * * @package WordPress * @subpackage Twenty_Fifteen * @since Twenty Fifteen 1.0 */ if ( ! function_exists( 'twentyfifteen_comment_nav' ) ) : /* function twentyfifteen_comment_nav() – Display navigation to next/previous comments when applicable. */ endif; if ( ! function_exists( 'twentyfifteen_entry_meta' ) ) : /* function twentyfifteen_entry_meta() – Prints HTML with meta information for the categories, tags. */ endif; /* function twentyfifteen_categorized_blog() – Determine whether blog/site has more than one category. */ /* function twentyfifteen_category_transient_flusher() – Flush out the transients used in {@see twentyfifteen_categorized_blog()}. */ add_action( 'edit_category', 'twentyfifteen_category_transient_flusher' ); add_action( 'save_post', 'twentyfifteen_category_transient_flusher' ); if ( ! function_exists( 'twentyfifteen_post_thumbnail' ) ) : /* function twentyfifteen_post_thumbnail() – Display an optional post thumbnail. */ endif; if ( ! function_exists( 'twentyfifteen_get_link_url' ) ) : /* function twentyfifteen_get_link_url() – Return the post URL. */ endif; if ( ! function_exists( 'twentyfifteen_excerpt_more' ) && ! is_admin() ) : /* function twentyfifteen_excerpt_more() – Replaces "[. */ add_filter( 'excerpt_more', 'twentyfifteen_excerpt_more' ); endif; if ( ! function_exists( 'twentyfifteen_the_custom_logo' ) ) : /* function twentyfifteen_the_custom_logo() – Displays the optional custom logo. */ endif; if ( ! function_exists( 'wp_body_open' ) ) : /* function wp_body_open() – Shim for wp_body_open, ensuring backward compatibility with versions of WordPress older than 5.2. */ endif;