Skip to content

Commit

Permalink
A few minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
David Sutoyo committed Apr 29, 2018
1 parent 519301a commit 7e7ee4a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
@@ -1,6 +1,6 @@
# Hybrid Foundation

A starter theme based on <a href="http://http://themehybrid.com/hybrid-core/">Hybrid Core</a> and Foundation 6.4.3.
A starter theme based on <a href="http://themehybrid.com/hybrid-core/">Hybrid Core</a> and Foundation 6.4.3.

## Getting Started
### Prerequisites
Expand Down
2 changes: 1 addition & 1 deletion inc/admin/class-post-layout.php
Expand Up @@ -76,7 +76,7 @@ public function add_meta_boxes( $post_type ) {
if ( post_type_supports( $post_type, 'theme-layouts' ) && current_user_can( 'edit_theme_options' ) ) {

// Add meta box.
add_meta_box( 'hybrid-container-post-layout', esc_html__( 'Body Container Layout', 'hybrid-foundation' ), array( $this, 'meta_box' ), $post_type, 'side', 'default' );
add_meta_box( 'hybrid-foundation-container-post-layout', esc_html__( 'Body Container Layout', 'hybrid-foundation' ), array( $this, 'meta_box' ), $post_type, 'side', 'default' );

// Enqueue scripts/styles.
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue' ) );
Expand Down
4 changes: 4 additions & 0 deletions inc/core/class-theme-options.php
Expand Up @@ -70,11 +70,15 @@ public function get_defaults() {
return apply_filters(
'hybrid_foundation_defaults',
array(
'custom_logo_height' => 60,
'color_primary' => '#ff0000',
'color_secondary' => '#00ff00',
'layout_container' => 'contained',
'layout_container_header' => 'contained',
'layout_container_footer' => 'contained',
'layout_container_page' => 'default',
'layout_container_post' => 'default',
'layout_container_archive' => 'default',
)
);
}
Expand Down

0 comments on commit 7e7ee4a

Please sign in to comment.