[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)





/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


Functions that are not part of a class:

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

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

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 : Tue Sep 29 08:20:02 2020 Cross-referenced by PHPXref