[ Index ]

PHP Cross Reference of WordPress

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.

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 Mar 19 01:00:02 2024 Cross-referenced by PHPXref 0.7.1