• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WordPress a2z

WordPress a2z

WordPress Dynamic API Reference

  • Home
  • Plugins
  • Themes
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Files / inc/template-tags.php


Lines:

1 to 53 of 53
<?php

/**
 * Custom Twenty Sixteen template tags
 *
 * Eventually, some of the functionality here could be replaced by core features.
 *
 * @package WordPress
 * @subpackage Twenty_Sixteen
 * @since Twenty Sixteen 1.0
 */

if ( ! function_exists( 'twentysixteen_entry_meta' ) ) :
/* function twentysixteen_entry_meta() – Prints HTML with meta information for the categories, tags. */
endif;

if ( ! function_exists( 'twentysixteen_entry_date' ) ) :
/* function twentysixteen_entry_date() – Prints HTML with date information for current post. */
endif;

if ( ! function_exists( 'twentysixteen_entry_taxonomies' ) ) :
/* function twentysixteen_entry_taxonomies() – Prints HTML with category and tags for current post. */
endif;

if ( ! function_exists( 'twentysixteen_post_thumbnail' ) ) :
/* function twentysixteen_post_thumbnail() – Displays an optional post thumbnail. */
endif;

if ( ! function_exists( 'twentysixteen_excerpt' ) ) :
/* function twentysixteen_excerpt() – Displays the optional excerpt. */
endif;

if ( ! function_exists( 'twentysixteen_excerpt_more' ) && ! is_admin() ) :
/* function twentysixteen_excerpt_more() – Replaces "[. */
  add_filter( 'excerpt_more', 'twentysixteen_excerpt_more' );
endif;

if ( ! function_exists( 'twentysixteen_categorized_blog' ) ) :
/* function twentysixteen_categorized_blog() – Determines whether blog/site has more than one category. */
endif;

/* function twentysixteen_category_transient_flusher() – Flushes out the transients used in twentysixteen_categorized_blog(). */
add_action( 'edit_category', 'twentysixteen_category_transient_flusher' );
add_action( 'save_post', 'twentysixteen_category_transient_flusher' );

if ( ! function_exists( 'twentysixteen_the_custom_logo' ) ) :
/* function twentysixteen_the_custom_logo() – Displays the optional custom logo. */
endif;

if ( ! function_exists( 'wp_body_open' ) ) :
/* function wp_body_open() – Fire the wp_body_open action. */
endif;
 

 View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: inc/template-tags.php
      Plugin ref: Twenty Sixteen
      Version: 2.8
      Deprecated?: No
      API Letters: I,P,T

      Published: 25th November 2019 | Last updated: 9th June 2022

      Primary Sidebar

      Information

      File name: inc/template-tags.php
      Plugin ref: Twenty Sixteen
      Version: 2.8
      Deprecated?: No
      API Letters: I,P,T

      inc

      Footer

      WordPress a2z
      WordPress a2z
      WordPress Dynamic API Reference
      WordPress 6.1.1. PHP: 8.0.28
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  wp-a2z.org
      © Copyright WordPress a2z 2014-2023. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins

      • Home
      • Blog
      • Sitemap
      • Sites