This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'widgets_init', 'register_layout_widget_areas' ); | |
add_action( 'themify_layout_before', 'display_features_area' ); | |
add_action( 'themify_layout_after', 'display_bottom_area' ); | |
function register_layout_widget_areas() { | |
register_sidebar(array( | |
'name' => __( 'Features' ), | |
'id' => 'features', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function custom_themify_extend_image_sizes( $sizes ) { | |
$sizes['extralarge'] = __( 'Extra Large', 'themify' ); | |
return $sizes; | |
} | |
add_filter( 'image_size_names_choose', 'custom_themify_extend_image_sizes' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Implemented in the theme. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function custom_comment_form_fields( $fields ) { | |
unset( $fields['url'] ); | |
return $fields; | |
} | |
add_filter( 'comment_form_default_fields', 'custom_comment_form_fields' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function custom_down_arrow() { | |
global $themify; | |
if( '' != $themify->query_category && 'section' == $themify->query_post_type ) { | |
echo '<a href="#body" id="arrow-down" style="position: absolute; left: 50%; bottom: 100px; color: #fff; font-size: 25px;"><i class="fa fa-arrow-circle-down"></i></a>'; | |
} | |
} | |
add_action( 'themify_header_end', 'custom_down_arrow' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function append_language_class( $classes ) { | |
$classes[] = ICL_LANGUAGE_CODE; | |
return $classes; | |
} | |
add_filter( 'body_class', 'append_language_class' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#header hgroup { | |
-webkit-transform: inherit !important; | |
-moz-transform: inherit !important; | |
position: relative; | |
z-index: 99999; | |
} | |
.fixed-header-on #site-logo { | |
position: fixed; | |
top: 0; | |
left: 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#nav-bar { | |
top: 0; | |
bottom: auto; | |
position: fixed; | |
} | |
.admin-bar #nav-bar { | |
top: 32px; | |
} | |
.home #main-nav ul { | |
bottom: auto; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function themify_infinite_scroll_init() { | |
add_theme_support( 'infinite-scroll', array( | |
'container' => 'loops-wrapper', | |
'render' => 'themify_infinite_scroll_render' | |
) ); | |
} | |
add_action( 'after_setup_theme', 'themify_infinite_scroll_init' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.pagewidth { | |
width: 94%; | |
} | |
@media (min-width: 771px) { | |
#content { | |
width: 75%; | |
} | |
#sidebar { | |
width: 22%; | |
} |
OlderNewer