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
function vodi_header_logo() { | |
?><div class="site-header__logo"><?php | |
if ( has_custom_logo() ) { | |
$html = ''; | |
$custom_logo_id = get_theme_mod( 'custom_logo' ); | |
if ( $custom_logo_id ) { | |
$custom_logo_attr = array( | |
'class' => 'custom-logo', | |
); |
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
add_action( 'masvideos_before_single_movie', 'vd_child_remove_recommended_movies', 20 ); | |
add_action( 'masvideos_before_single_movie', 'vd_child_remove_single_movie_tabs', 20 ); | |
function vd_child_remove_recommended_movies() { | |
remove_action( 'masvideos_after_single_movie_summary', 'vodi_recommended_movies', 98 ); | |
} | |
function vd_child_remove_single_movie_tabs() { | |
remove_action( 'masvideos_after_single_movie_summary', 'masvideos_template_single_movie_tabs', 95 ); | |
} |
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
$defaults = apply_filters( 'tokoo_product_categories_args', array( | |
'section_title' => esc_html__( 'Shop By Categories', 'tokoo' ), | |
'category_args' => array( | |
'number' => '8', | |
'columns' => '4', | |
'slug' => '', | |
'hide_empty' => 'true', | |
) | |
)); |
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
@media( max-width: 768px ) { | |
.single-article .article__title { | |
font-size: 24px; | |
} | |
} |
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
add_filter( 'front_single_job_listing_v2_apply_job_form_pretitle_text', 'fr_child_single_job_listing_v2_apply_job_form_pretitle_text', 10 ); | |
function fr_child_single_job_listing_v2_apply_job_form_pretitle_text( $text ) { | |
return esc_html__( 'Join Amai', 'front' ); | |
} |
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
/** | |
* Single Product | |
*/ | |
add_filter( 'woocommerce_sale_flash', 'mc_sale_flash' ); | |
add_filter( 'woocommerce_single_product_carousel_options', 'mc_wc_single_product_carousel_option_remove_thumb' ); | |
remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_images', 20 ); | |
add_action( 'woocommerce_before_single_product_summary', 'mc_product_summary_wrapper_start', 1 ); | |
add_action( 'woocommerce_after_single_product_summary', 'mc_product_summary_wrapper_end', 1 ); |
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
add_filter( 'electro_departments_menu_v2_enable_dropdown', 'ec_child_enable_dropdown_header_v1_home_v1', 20 ); | |
function ec_child_enable_dropdown_header_v1_home_v1( $enable_dropdown ) { | |
if ( is_page_template( 'template-homepage-v1.php' ) ) { | |
$enable_dropdown = true; | |
} | |
return $enable_dropdown; | |
} |
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
add_filter( 'electro_use_advanced_reviews', '__return_false', 100 ); |
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
function electro_set_loop_shop_per_page() { | |
$per_page = electro_set_loop_shop_columns() * 4; | |
$per_page = apply_filters( 'electro_loop_shop_per_page', $per_page ); | |
return $per_page; | |
} |
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
function jobhunt_job_header_search_block( $args = array() ) { | |
$defaults = apply_filters( 'jobhunt_job_header_search_block_args', array( | |
'section_title' => esc_html__( 'Explore Thousand Of Jobs With Just Simple Search...', 'jobhunt' ), | |
'sub_title' => '', | |
'search_placeholder_text' => esc_html__( 'Job title, keywords or company name', 'jobhunt' ), | |
'location_placeholder_text' => esc_html__( 'City, province or region', 'jobhunt' ), | |
'category_select_text' => esc_html__( 'Any Category', 'jobhunt' ), | |
'show_category_select' => false, | |
'search_button_icon' => 'la la-search', |