functions.php
Table of Contents
- 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
Functions
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_posts_navigation()
Post Navigation.
brisko_posts_navigation() : mixed
Tags
Return values
mixed —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 —brisko_layout_footer()
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 —brisko_footer()
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