mirror of
https://github.com/10h30/trestle.git
synced 2026-06-05 15:09:35 +09:00
Remove extraneous files and extra widget test code.
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 618 B |
Binary file not shown.
|
Before Width: | Height: | Size: 357 B |
Binary file not shown.
|
Before Width: | Height: | Size: 205 B |
Binary file not shown.
|
Before Width: | Height: | Size: 3.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 463 B |
@@ -62,20 +62,7 @@ add_action( 'widgets_init', 'trestle_register_widget_areas' );
|
||||
* @since 1.0.0
|
||||
*/
|
||||
function trestle_register_widget_areas() {
|
||||
//* Register after post widget area
|
||||
genesis_register_sidebar( array(
|
||||
'id' => 'after-post',
|
||||
'name' => __( 'After Post', 'themename' ),
|
||||
'description' => __( 'This is a widget area that can be placed after the post', 'themename' ),
|
||||
) );
|
||||
add_action( 'genesis_header', 'sp_after_post_widget', 12 );
|
||||
function sp_after_post_widget() {
|
||||
if ( is_singular( 'post' ) )
|
||||
genesis_widget_area( 'after-post', array(
|
||||
'before' => '<div class="after-post widget-area">',
|
||||
'after' => '</div>',
|
||||
) );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*===========================================
|
||||
|
||||
@@ -32,7 +32,7 @@ jQuery(document).ready(function() {
|
||||
jQuery('ul, ol').parent('li').addClass('parent');
|
||||
|
||||
// Mobile header toggle buttons
|
||||
jQuery('.site-header .wrap').prepend('<div class="toggle-buttons" />');
|
||||
jQuery('.site-header .title-area').after('<div class="toggle-buttons" />');
|
||||
jQuery('.site-header .widget-area, .nav-primary').each(function(i) {
|
||||
var target = jQuery(this);
|
||||
|
||||
|
||||
@@ -1302,6 +1302,8 @@ Site Header
|
||||
--------------------------------------------- */
|
||||
|
||||
.title-area {
|
||||
float: left;
|
||||
width: auto;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
@@ -1375,8 +1377,12 @@ Site Header
|
||||
--------------------------------------------- */
|
||||
|
||||
.site-header .toggle-buttons {
|
||||
float: right;
|
||||
font-size: 0;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.site-header .toggle-button.open {
|
||||
color: #f15123;
|
||||
}
|
||||
|
||||
.site-header .toggle-button:before {
|
||||
@@ -2091,10 +2097,6 @@ Media Queries
|
||||
background-position: left top;
|
||||
}
|
||||
|
||||
.title-area {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.logo-mobile {
|
||||
display: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user