[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

title

Body

[close]

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

Additional features to allow styling of the templates

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

Defines 3 functions

  twentyseventeen_body_classes()
  twentyseventeen_panel_count()
  twentyseventeen_is_frontpage()

Functions
Functions that are not part of a class:

twentyseventeen_body_classes( $classes )   X-Ref
Adds custom classes to the array of body classes.

param: array $classes Classes for the body element.
return: array

twentyseventeen_panel_count()   X-Ref
Count our number of active panels.

Primarily used to see if we have any panels active, duh.

twentyseventeen_is_frontpage()   X-Ref
Checks to see if we're on the front page or not.




Generated: Sat Nov 23 20:47:33 2019 Cross-referenced by PHPXref 0.7