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 finder_header_user_signup_form() { | |
if ( ! finder_is_hivepress_activated() ) { | |
return; | |
} | |
$is_dark_header = finder_is_header_navbar_dark(); | |
$default = apply_filters( 'finder_default_signup_title', 'Join Finder.<br>Get premium benefits:' ); | |
$signup_title = get_theme_mod( 'finder_signup_title', $default ); | |
$signup_image = get_theme_mod( 'finder_signup_image_option' ); |
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 woocommerce_template_loop_product_title() { | |
if ( is_product_category() ) { | |
echo wp_kses_post( '<h3 class="woocommerce-loop-product__title">' . get_the_title() . '</h3>' ); //only load category page | |
} else { | |
echo wp_kses_post( '<div class="woocommerce-loop-product__title">' . get_the_title() . '</div>' ); //load all pages | |
} | |
} |
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( 'init', 'tm_child_place_rel_products_above_wc_tabs', 30 ); | |
function tm_child_place_rel_products_above_wc_tabs() { | |
remove_action( 'woocommerce_after_single_product_summary', 'techmarket_related_display', 15 ); | |
add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 15 ); | |
} |
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_movies_control_bar_top_right() { | |
?><div class="vodi-control-bar__right"><?php | |
vodi_movies_view_switcher(); | |
?></div><?php | |
} |
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_tv_shows_control_bar_top_right() { | |
?><div class="vodi-control-bar__right"><?php | |
vodi_tv_shows_view_switcher(); | |
?></div><?php | |
} |
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( 'vodi_header_v2', 'vodi_footer_top_bar_social', 71 ); |
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 mytravel_navbar_mini_cart() { | |
if ( mytravel_is_woocommerce_activated() && mytravel_navbar_enable_minicart() ) { | |
$header_style = mytravel_get_header_style(); | |
$classes = 'shopping-cart position-relative'; | |
if ( 'v1' === $header_style ) { | |
$classes .= ' pl-2 pl-md-4 ml-auto d-none d-xl-block'; | |
} elseif ( 'v2' === $header_style ) { |
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 filter_post_excerpt_attrs( $metadata ) { | |
if ( 'core/post-excerpt' === $metadata['name'] ) { | |
$metadata["attributes"]["excerptLength"] = false; | |
} | |
return $metadata; | |
}; | |
add_filter( 'block_type_metadata', 'filter_post_excerpt_attrs', 10 ); |
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( 'masvideos_register_post_type_movie', 'mas_child_change_movies_descrioption', 98 ); | |
function mas_child_change_movies_descrioption( $args ) { | |
$args['description'] = 'This is where you can add new movies to your site.'; | |
return $args; | |
} |
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
.footer-newsletter div.wpforms-container-full, | |
.footer-newsletter div.wpforms-container-full .wpforms-form .wpforms-submit-container { | |
margin: 0 !important; | |
} |
NewerOlder