Remove extraneous files and extra widget test code.

This commit is contained in:
MickeyKay
2014-10-16 12:19:52 -07:00
parent 49ad1f64b5
commit 1d24370b61
8 changed files with 9 additions and 20 deletions
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 618 B

BIN
View File
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

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 463 B

+1 -14
View File
@@ -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>',
) );
}
}
/*===========================================
+1 -1
View File
@@ -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);
+7 -5
View File
@@ -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;
}