Skip to content

Commit

Permalink
Updated Epsilon Framework.
Browse files Browse the repository at this point in the history
  • Loading branch information
giucu91 committed Aug 8, 2017
1 parent 887d4f6 commit 11ab0ee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
14 changes: 0 additions & 14 deletions inc/customizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ function shapely_customizer( $wp_customize ) {

if ( class_exists( 'Epsilon_Control_Toggle' ) ) {
$wp_customize->add_control( new Epsilon_Control_Toggle( $wp_customize, 'top_callout', array(
'type' => 'mte-toggle',
'label' => esc_html__( 'Show Blog Title', 'shapely' ),
'description' => esc_html__( 'Show/hide the title from the Blog Page', 'shapely' ),
'section' => 'shapely_blog_section',
Expand All @@ -243,7 +242,6 @@ function shapely_customizer( $wp_customize ) {

if ( class_exists( 'Epsilon_Control_Toggle' ) ) {
$wp_customize->add_control( new Epsilon_Control_Toggle( $wp_customize, 'hide_post_title', array(
'type' => 'mte-toggle',
'label' => esc_html__( 'Title in Blog Post', 'shapely' ),
'section' => 'wpseo_breadcrumbs_customizer_section',
) ) );
Expand Down Expand Up @@ -390,72 +388,61 @@ function shapely_customizer( $wp_customize ) {
if ( class_exists( 'Epsilon_Control_Toggle' ) ) {

$wp_customize->add_control( new Epsilon_Control_Toggle( $wp_customize, 'title_in_header', array(
'type' => 'mte-toggle',
'label' => esc_html__( 'Show title in header', 'shapely' ),
'description' => esc_html__( 'This will show/hide the post title from callout', 'shapely' ),
'section' => 'shapely_single_post_section',
) ) );

$wp_customize->add_control( new Epsilon_Control_Toggle( $wp_customize, 'title_above_post', array(
'type' => 'mte-toggle',
'label' => esc_html__( 'Show title above post', 'shapely' ),
'description' => esc_html__( 'This will show/hide the post title above post content', 'shapely' ),
'section' => 'shapely_single_post_section',
) ) );

$wp_customize->add_control( new Epsilon_Control_Toggle( $wp_customize, 'post_date', array(
'type' => 'mte-toggle',
'label' => esc_html__( 'Show the date', 'shapely' ),
'description' => esc_html__( 'This will show/hide the date when post was published', 'shapely' ),
'section' => 'shapely_single_post_section',
) ) );

$wp_customize->add_control( new Epsilon_Control_Toggle( $wp_customize, 'post_author', array(
'type' => 'mte-toggle',
'label' => esc_html__( 'Show the author', 'shapely' ),
'description' => esc_html__( 'This will show/hide the author who written the post under the post title', 'shapely' ),
'section' => 'shapely_single_post_section',
) ) );

$wp_customize->add_control( new Epsilon_Control_Toggle( $wp_customize, 'post_category', array(
'type' => 'mte-toggle',
'label' => esc_html__( 'Show the category', 'shapely' ),
'description' => esc_html__( 'This will show/hide the categories of post', 'shapely' ),
'section' => 'shapely_single_post_section',
) ) );

$wp_customize->add_control( new Epsilon_Control_Toggle( $wp_customize, 'first_letter_caps', array(
'type' => 'mte-toggle',
'label' => esc_html__( 'First Letter Caps', 'shapely' ),
'description' => esc_html__( 'This will transform your first letter from a post into uppercase', 'shapely' ),
'section' => 'shapely_single_post_section',
) ) );
$wp_customize->add_control( new Epsilon_Control_Toggle( $wp_customize, 'tags_post_meta', array(
'type' => 'mte-toggle',
'label' => esc_html__( 'Tags Post Meta', 'shapely' ),
'description' => esc_html__( 'This will show/hide tags from the end of post', 'shapely' ),
'section' => 'shapely_single_post_section',
) ) );
$wp_customize->add_control( new Epsilon_Control_Toggle( $wp_customize, 'related_posts_area', array(
'type' => 'mte-toggle',
'label' => esc_html__( 'Related Posts Area', 'shapely' ),
'description' => esc_html__( 'This will enable/disable the related posts', 'shapely' ),
'section' => 'shapely_single_post_section',
) ) );
$wp_customize->add_control( new Epsilon_Control_Toggle( $wp_customize, 'post_author_area', array(
'type' => 'mte-toggle',
'label' => esc_html__( 'Post Author Area', 'shapely' ),
'description' => esc_html__( 'This will show/hide the author box', 'shapely' ),
'section' => 'shapely_single_post_section',
) ) );
$wp_customize->add_control( new Epsilon_Control_Toggle( $wp_customize, 'post_author_left_side', array(
'type' => 'mte-toggle',
'label' => esc_html__( 'Post Author Left Side', 'shapely' ),
'description' => esc_html__( 'This will move the author box from the bottom of the post on top on the left side', 'shapely' ),
'section' => 'shapely_single_post_section',
) ) );
$wp_customize->add_control( new Epsilon_Control_Toggle( $wp_customize, 'post_author_email', array(
'type' => 'mte-toggle',
'label' => esc_html__( 'Show Author Email', 'shapely' ),
'description' => esc_html__( 'This will show/hide the author\'s email from the author box', 'shapely' ),
'section' => 'shapely_single_post_section',
Expand Down Expand Up @@ -558,7 +545,6 @@ function shapely_customizer( $wp_customize ) {
) );
if ( class_exists( 'Epsilon_Control_Toggle' ) ) {
$wp_customize->add_control( new Epsilon_Control_Toggle( $wp_customize, 'show_category_on_category_page', array(
'type' => 'mte-toggle',
'label' => esc_html__( 'Show Category on Posts', 'shapely' ),
'description' => esc_html__( 'Show/hide posts\' categories from the Category Page', 'shapely' ),
'section' => 'shapely_blog_section',
Expand Down
2 changes: 1 addition & 1 deletion inc/libraries/epsilon-framework

0 comments on commit 11ab0ee

Please sign in to comment.