[ Index ]

PHP Cross Reference of WordPress




/wp-content/themes/twentyseventeen/inc/ -> template-tags.php (summary)

Custom template tags for this theme Eventually, some of the functionality here could be replaced by core features.

File Size: 226 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 8 functions


Functions that are not part of a class:

twentyseventeen_posted_on()   X-Ref
Prints HTML with meta information for the current post-date/time and author.

twentyseventeen_time_link()   X-Ref
Gets a nicely formatted string for the published date.

twentyseventeen_entry_footer()   X-Ref
Prints HTML with meta information for the categories, tags and comments.

twentyseventeen_edit_link()   X-Ref
Returns an accessibility-friendly link to edit a post or page.

This also gives us a little context about what exactly we're editing
(post or page?) so that users understand a bit more where they are in terms
of the template hierarchy and their content. Helpful when/if the single-page
layout with multiple posts/pages shown gets confusing.

twentyseventeen_front_page_section( $partial = null, $id = 0 )   X-Ref
Display a front page section.

param: WP_Customize_Partial $partial Partial associated with a selective refresh request.
param: integer              $id Front page section to display.

twentyseventeen_categorized_blog()   X-Ref
Returns true if a blog has more than 1 category.

return: bool

twentyseventeen_category_transient_flusher()   X-Ref
Flush out the transients used in twentyseventeen_categorized_blog.

wp_body_open()   X-Ref
Fire the wp_body_open action.

Added for backward compatibility to support pre-5.2.0 WordPress versions.

since: Twenty Seventeen 2.2

Generated: Mon Aug 3 01:00:04 2020 Cross-referenced by PHPXref 0.7.1