Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
sgssandhu committed Feb 4, 2019
1 parent 879a9d0 commit a7761c2
Show file tree
Hide file tree
Showing 7 changed files with 57 additions and 4 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,8 @@ ADDED: Primary Nav Hover Animation

## 7.3.0.11 01-02-2019
FIXED: Blog Sidebar Issue
ADDED: Orange Theme to Aione tabs
ADDED: Orange Theme to Aione tabs

## 7.3.0.12 04-02-2019
ADDED: Logo Alignment Option
ADDED: Export Reusable Blocks
17 changes: 16 additions & 1 deletion assets/css/core.css
Original file line number Diff line number Diff line change
Expand Up @@ -419,18 +419,33 @@ img {
margin: 0;
display: block
}
.aione-header.logo-alignment-center .aione-header-logo,
.aione-wrapper.layout-header-left .aione-header-logo,
.aione-wrapper.layout-header-right .aione-header-logo {
.aione-wrapper.layout-header-left .aione-header-title,
.aione-wrapper.layout-header-right .aione-header-logo,
.aione-wrapper.layout-header-right .aione-header-title {
float: none;
text-align: center;
display: block
}
.aione-header.logo-alignment-right .aione-header-logo {
float: right;
display: block
}
.aione-header.logo-alignment-center .aione-header-title,
.aione-wrapper.layout-header-left .aione-header-title,
.aione-wrapper.layout-header-right .aione-header-title {
float: none;
text-align: center;
display: block
}
.aione-header.logo-alignment-center .aione-header-banner,
.aione-wrapper.layout-header-left .aione-header-banner,
.aione-wrapper.layout-header-right .aione-header-banner {
float: none;
text-align: center;
display: block
}
.aione-header.light {
background-color: #fff
}
Expand Down
2 changes: 1 addition & 1 deletion assets/css/core.min.css

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@
}
';
}



/****** Top Bar *****/
if( $theme_options['top_bar_customize_enable'] ) {
Expand Down Expand Up @@ -143,6 +145,13 @@
}
';
}
if( $theme_options['logo_height'] ) {
echo '
.aione-header-logo > a > img{
height: '.esc_html( $theme_options['logo_height'] ).'px
}
';
}
/****** Header END*****/
/****** Menu *****/
echo '
Expand Down
24 changes: 24 additions & 0 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,30 @@ function aione_init() {



/**
* Show Reusable blocks in wordpress export content area to export
*
* from one site to another site
*
*/
function aione_support_reusable_block_export( $post_type_args, $post_type ) {
if ( 'wp_block' === $post_type ) {
// $post_type_args['public'] = true;
$post_type_args['can_export'] = true;
// $post_type_args['show_in_menu'] = true;

/*
echo "<pre style='padding:50px 0 0 200px'>";
print_r($post_type_args);
echo "</pre>";
*/

}

return $post_type_args;
}
add_filter( 'register_post_type_args', 'aione_support_reusable_block_export', 10, 2 );

/**
* Set the content width in pixels, based on the theme's design and stylesheet.
*
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: https://github.com/oxosolutions/aione
Author: OXO Solutions®
Author URI: https://oxosolutions.com
Description: Multipurpose All-in-One fastest Wordpress Theme developed for Darlic® Platform using AioneFramework, The 100 Column Grid system
Version: 7.3.0.11
Version: 7.3.0.12
License: GNU General Public License v3.0 or later
License URI: https://github.com/Darlic/aione/blob/master/LICENSE
Text Domain: aione
Expand Down
1 change: 1 addition & 0 deletions template/aione-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
$header_classes[] = 'sticky';
}

$header_classes[] = 'logo-alignment-'.$theme_options['header_logo_alignment'];
$header_classes[] = is_fullwidth( $post->ID, 'header');
$header_classes = implode(' ', $header_classes);

Expand Down

0 comments on commit a7761c2

Please sign in to comment.