Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 2 header.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
<?php wp_body_open(); ?>
<?php do_action( 'brisko_after_body_open' ); ?>
<div id="page" class="site">
<div class="wp-site-blocks">
<?php brisko_site_blocks_open(); ?>
<?php brisko_header()->site_header(); ?>
23 changes: 16 additions & 7 deletions 23 src/inc/template-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@
use Brisko\SiteHeader;
use Brisko\Thumbnail;


function brisko_site_blocks_open()
{
if (get_theme_mod( 'use_block_templates', false ) || get_theme_mod( 'use_block_header', false )) {
?><div class="wp-site-blocks"><?php
} else {
?><div class="brisko-site-blocks"><?php
}
}

if ( ! \function_exists( 'brisko' ) ) {
/**
* Get the Brisko Theme.
Expand Down Expand Up @@ -217,14 +227,13 @@ function brisko_sidebar()
{
if ( is_active_sidebar( 'sidebar-1' ) ) {
?>
<aside id="secondary" class="widget-area">
<?php
do_action( 'brisko_before_sidebar' );
<aside id="secondary" class="widget-area">
<?php
do_action( 'brisko_before_sidebar' );
dynamic_sidebar( 'sidebar-1' );
do_action( 'brisko_after_sidebar' );
?>
</aside><!-- #secondary -->
<?php
do_action( 'brisko_after_sidebar' ); ?>
</aside><!-- #secondary -->
<?php
}
}

Expand Down
3 changes: 0 additions & 3 deletions 3 styles/marigold.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@
}
]
},
"layout": {
"wideSize": "1200px"
},
"spacing": {
"spacingSizes": [
{
Expand Down
4 changes: 0 additions & 4 deletions 4 styles/pitch.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@
}
]
},
"layout": {
"contentSize": "min(640px, 90vw)",
"wideSize": "90vw"
},
"spacing": {
"spacingScale": {
"steps": 7
Expand Down
4 changes: 0 additions & 4 deletions 4 styles/whisper.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@
}
]
},
"layout": {
"contentSize": "710px",
"wideSize": "1200px"
},
"typography": {
"fontSizes": [
{
Expand Down
2 changes: 1 addition & 1 deletion 2 theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"appearanceTools": true,
"layout": {
"contentSize": "960px",
"wideSize": "1140px"
"wideSize": "1320px"
},
"spacing": {
"units": ["px", "rem", "em", "%", "vh", "vw"]
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.