[ Index ]

PHP Cross Reference of WordPress




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

Twenty Nineteen functions and definitions

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

Defines 9 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.

wp_get_list_item_separator()   X-Ref
Retrieves the list item separator based on the locale.

Added for backward compatibility to support pre-6.0.0 WordPress versions.

since: 6.0.0

twentynineteen_widgets_init()   X-Ref
Register widget area.

twentynineteen_excerpt_more( $link )   X-Ref
Replaces "[...]" (appended to automatically generated excerpts) with ... and
a 'Continue reading' link.

since: Twenty Nineteen 2.0
param: string $link Link to single post/page.
return: string 'Continue reading' link prepended with an ellipsis.

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: Fri Jun 21 01:00:02 2024 Cross-referenced by PHPXref 0.7.1