Brisko

Documentation

Packages

Application

Namespaces

Brisko

Table of Contents

BRISKO_ADMIN_USER  = 1
brisko_customize_partial_copyright()  : void
Render the site title for the selective refresh partial.
brisko_customize_partial_poweredby()  : void
Render Selective refresh partial.
brisko_footer_padding_partial()  : void
Render Selective refresh partial.
brisko_customize_partial_blogname()  : void
Render the site title for the selective refresh partial.
brisko_customize_partial_blogdescription()  : void
Render the site tagline for the selective refresh partial.
brisko_customize_preview_js()  : mixed
Binds JS handlers to make Theme Customizer preview reload changes asynchronously.
brisko_sanitize_checkbox()  : bool
Checkbox sanitization.
brisko_sanitize_classes()  : string
Classes sanitization.
brisko_sanitize_number()  : numeric-string
Number sanitization.
brisko_section_info()  : mixed
Quick Tip.
brisko_layout_options()  : array<string|int, string>
Theme Layout options.
brisko_text_align_options()  : array<string|int, string>
Theme Layout options.
brisko_text_tranform_choices()  : array<string|int, string>
Theme text-tranform choices.
brisko_before_header()  : mixed
brisko_after_header()  : mixed
brisko_homepage_header()  : mixed
brisko_post_header()  : mixed
brisko_page_header()  : mixed
brisko_page_footer()  : mixed
brisko_after_entry_meta()  : mixed
brisko_before_entry_meta()  : mixed
brisko_after_post_content()  : mixed
brisko_before_sidebar()  : mixed
brisko_after_sidebar()  : mixed
brisko_before_footer()  : mixed
brisko_after_footer()  : mixed
wp_body_open()  : mixed
brisko_site_blocks_open()  : mixed
brisko()  : Brisko
Get the Brisko Theme.
brisko_posted_on()  : mixed
Prints HTML with meta information for the current post-date/time.
brisko_posted_by()  : mixed
Prints HTML with meta information for the current author.
brisko_entry_footer()  : mixed
Prints HTML with meta information for the categories, tags and comments.
brisko_entry_meta()  : null|void
Outputs the entry meta information for posts.
brisko_entry_content_css()  : null|string
Generates inline CSS for entry content based on theme settings.
brisko_posts_navigation()  : mixed
Post Navigation.
brisko_is_php5_6()  : mixed
Check if PHP 5.6.
brisko_sidebar()  : void
Get the sidebar.
brisko_layout_head()  : void
Head section.
brisko_layout_sidebar()  : mixed
Get the sidebar.
brisko_layout_footer()  : void
Footer section.
brisko_layout_content()  : mixed
Display content only.
brisko_excerpt()  : mixed
Displays an optional post excerpt.
brisko_options()  : Options
Theme Options.
brisko_post_thumbnail()  : mixed
Displays an optional post thumbnail.
brisko_footer()  : Footer
Footer.
brisko_navigation()  : Navigation
Theme Navigation.
brisko_header()  : SiteHeader
Theme Header.
is_brisko_hybrid_fse()  : mixed

Constants

BRISKO_ADMIN_USER

public mixed BRISKO_ADMIN_USER = 1

Functions

Render the site title for the selective refresh partial.

brisko_customize_partial_copyright() : void
Return values
void

brisko_customize_partial_poweredby()

Render Selective refresh partial.

brisko_customize_partial_poweredby() : void
Return values
void

Render Selective refresh partial.

brisko_footer_padding_partial() : void
Return values
void

brisko_customize_partial_blogname()

Render the site title for the selective refresh partial.

brisko_customize_partial_blogname() : void
Return values
void

brisko_customize_partial_blogdescription()

Render the site tagline for the selective refresh partial.

brisko_customize_partial_blogdescription() : void
Return values
void

brisko_customize_preview_js()

Binds JS handlers to make Theme Customizer preview reload changes asynchronously.

brisko_customize_preview_js() : mixed
Return values
mixed

brisko_sanitize_classes()

Classes sanitization.

brisko_sanitize_classes(string $classes) : string

Sanitization callback for 'css classes'

Parameters
$classes : string

.

Return values
string

$classes comma separated values.

brisko_sanitize_number()

Number sanitization.

brisko_sanitize_number(string $number) : numeric-string

Sanitization callback for 'numbers'

Parameters
$number : string

.

Return values
numeric-string

$number .

brisko_section_info()

Quick Tip.

brisko_section_info([string $info = '' ]) : mixed
Parameters
$info : string = ''

.

Return values
mixed

brisko_layout_options()

Theme Layout options.

brisko_layout_options() : array<string|int, string>

Used for Theme Layout Customizer.

Tags
psalm-return

array{container: string, 'container-fluid': string}

Return values
array<string|int, string>

.

brisko_text_align_options()

Theme Layout options.

brisko_text_align_options() : array<string|int, string>

Used for Theme Layout Customizer.

Tags
psalm-return

array{left: string, right: string, center: string, justify: string, initial: string, inherit: string}

Return values
array<string|int, string>

.

brisko_text_tranform_choices()

Theme text-tranform choices.

brisko_text_tranform_choices() : array<string|int, string>

Used for Theme text-tranform in the Customizer.

Tags
psalm-return

array{none: string, capitalize: string, uppercase: string, lowercase: string}

Return values
array<string|int, string>

.

brisko_before_header()

brisko_before_header() : mixed
Return values
mixed

brisko_after_header()

brisko_after_header() : mixed
Return values
mixed

brisko_homepage_header()

brisko_homepage_header() : mixed
Return values
mixed

brisko_post_header()

brisko_post_header() : mixed
Return values
mixed

brisko_page_header()

brisko_page_header() : mixed
Return values
mixed
brisko_page_footer() : mixed
Return values
mixed

brisko_after_entry_meta()

brisko_after_entry_meta() : mixed
Return values
mixed

brisko_before_entry_meta()

brisko_before_entry_meta() : mixed
Return values
mixed

brisko_after_post_content()

brisko_after_post_content() : mixed
Return values
mixed

brisko_before_sidebar()

brisko_before_sidebar() : mixed
Return values
mixed

brisko_after_sidebar()

brisko_after_sidebar() : mixed
Return values
mixed
brisko_before_footer() : mixed
Return values
mixed
brisko_after_footer() : mixed
Return values
mixed

wp_body_open()

wp_body_open() : mixed
Return values
mixed

brisko_site_blocks_open()

brisko_site_blocks_open() : mixed
Return values
mixed

brisko()

Get the Brisko Theme.

brisko() : Brisko
Return values
Brisko

brisko_posted_on()

Prints HTML with meta information for the current post-date/time.

brisko_posted_on() : mixed
Return values
mixed

brisko_posted_by()

Prints HTML with meta information for the current author.

brisko_posted_by() : mixed
Return values
mixed

brisko_entry_footer()

Prints HTML with meta information for the categories, tags and comments.

brisko_entry_footer() : mixed
Return values
mixed

brisko_entry_meta()

Outputs the entry meta information for posts.

brisko_entry_meta() : null|void

This function displays the post date and author, if enabled in the theme customizer. If both are disabled, it triggers the 'brisko_entry_meta' action and returns null.

Return values
null|void

Returns null if both post date and author are disabled.

brisko_entry_content_css()

Generates inline CSS for entry content based on theme settings.

brisko_entry_content_css() : null|string

This function checks whether the display of the post author or post date is enabled in the theme customizer. If either is disabled, it returns a style attribute to unset margin, otherwise returns null.

Return values
null|string

Inline CSS if needed, or null if both options are enabled.

brisko_is_php5_6()

Check if PHP 5.6.

brisko_is_php5_6() : mixed
Return values
mixed

brisko_sidebar()

Get the sidebar.

brisko_sidebar() : void
Return values
void

brisko_layout_head()

Head section.

brisko_layout_head([null|string $header_type = null ]) : void
Parameters
$header_type : null|string = null
Return values
void

brisko_layout_sidebar()

Get the sidebar.

brisko_layout_sidebar() : mixed
Return values
mixed

Footer section.

brisko_layout_footer([null|string $footer_type = null ]) : void
Parameters
$footer_type : null|string = null
Return values
void

brisko_layout_content()

Display content only.

brisko_layout_content() : mixed

pure content will bypass the_content and use get_the_content works better for pure content management and will not break html.

note: filters on the_content will not work.

Return values
mixed

brisko_excerpt()

Displays an optional post excerpt.

brisko_excerpt() : mixed
Return values
mixed

brisko_options()

Theme Options.

brisko_options(string $theme_mod) : Options
Parameters
$theme_mod : string

.

Return values
Options

.

brisko_post_thumbnail()

Displays an optional post thumbnail.

brisko_post_thumbnail() : mixed
Return values
mixed

Footer.

brisko_footer() : Footer
Return values
Footer

brisko_navigation()

Theme Navigation.

brisko_navigation() : Navigation
Return values
Navigation

.

brisko_header()

Theme Header.

brisko_header() : SiteHeader
Return values
SiteHeader

.

is_brisko_hybrid_fse()

is_brisko_hybrid_fse() : mixed
Return values
mixed

Search results