[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

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

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

Defines 9 functions

  twentyfifteen_comment_nav()
  twentyfifteen_entry_meta()
  twentyfifteen_categorized_blog()
  twentyfifteen_category_transient_flusher()
  twentyfifteen_post_thumbnail()
  twentyfifteen_get_link_url()
  twentyfifteen_excerpt_more()
  twentyfifteen_the_custom_logo()
  wp_body_open()

Functions
Functions that are not part of a class:

twentyfifteen_comment_nav()   X-Ref
Display navigation to next/previous comments when applicable.


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


twentyfifteen_categorized_blog()   X-Ref
Determine whether blog/site has more than one category.

return: bool True of there is more than one category, false otherwise.

twentyfifteen_category_transient_flusher()   X-Ref
Flush out the transients used in {@see twentyfifteen_categorized_blog()}.


twentyfifteen_post_thumbnail()   X-Ref
Display an optional post thumbnail.

Wraps the post thumbnail in an anchor element on index views, or a div
element when on single views.


twentyfifteen_get_link_url()   X-Ref
Return the post URL.

Falls back to the post permalink if no URL is found in the post.

return: string The Link format URL.

twentyfifteen_excerpt_more( $more )   X-Ref
Replaces "[...]" (appended to automatically generated excerpts) with ... and a 'Continue reading' link.

return: string 'Continue reading' link prepended with an ellipsis.

twentyfifteen_the_custom_logo()   X-Ref
Displays the optional custom logo.

Does nothing if the custom logo is not available.


wp_body_open()   X-Ref
Fire the wp_body_open action.

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




Generated : Mon Mar 18 08:20:01 2024 Cross-referenced by PHPXref