[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentynineteen/ -> functions.php (summary)

Twenty Nineteen functions and definitions

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

Defines 7 functions

  twentynineteen_setup()
  twentynineteen_widgets_init()
  twentynineteen_content_width()
  twentynineteen_scripts()
  twentynineteen_skip_link_focus_fix()
  twentynineteen_editor_customizer_styles()
  twentynineteen_colors_css_wrap()

Functions
Functions that are not part of a class:

twentynineteen_setup()   X-Ref
Sets up theme defaults and registers support for various WordPress features.

Note that this function is hooked into the after_setup_theme hook, which
runs before the init hook. The init hook is too late for some features, such
as indicating support for post thumbnails.

twentynineteen_widgets_init()   X-Ref
Register widget area.


twentynineteen_content_width()   X-Ref
Set the content width in pixels, based on the theme's design and stylesheet.

Priority 0 to make it available to lower priority callbacks.


twentynineteen_scripts()   X-Ref
Enqueue scripts and styles.


twentynineteen_skip_link_focus_fix()   X-Ref
Fix skip link focus in IE11.

This does not enqueue the script because it is tiny and because it is only for IE11,
thus it does not warrant having an entire dedicated blocking script being loaded.


twentynineteen_editor_customizer_styles()   X-Ref
Enqueue supplemental block editor styles.


twentynineteen_colors_css_wrap()   X-Ref
Display custom color CSS in customizer and on frontend.




Generated: Sun Sep 22 01:00:03 2019 Cross-referenced by PHPXref 0.7.1