This file contains hidden or 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
.movie__player > div.brid, | |
.single-video__head > div.brid, | |
.episode__player > div.brid { | |
position: absolute !important; | |
top: 50%; | |
left: 50%; | |
transform: translate(-50%, -50%); | |
} |
This file contains hidden or 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
if( ! function_exists( 'wp_5_6_editor_wp_block_width_fix' ) ) { | |
function wp_5_6_editor_wp_block_width_fix() { | |
if( version_compare( get_bloginfo( 'version' ), '5.6', '>=' ) ) { | |
echo '<style>.interface-interface-skeleton__editor { max-width: 100%; }</style>'; | |
} | |
} | |
} | |
add_action( 'admin_head', 'wp_5_6_editor_wp_block_width_fix' ); |
This file contains hidden or 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
if ( ! function_exists( 'ec_child_display_sold_by_product_product_deal_product' ) ) { | |
function ec_child_display_sold_by_product_product_deal_product() { | |
if( class_exists( 'WCFMmp' ) ) { | |
global $WCFMmp; | |
add_action('electro_onsale_product_content', array( $WCFMmp->frontend, 'wcfmmp_sold_by_product' ), 45 ); | |
add_action('electro_onsale_product_carousel_content', array( $WCFMmp->frontend, 'wcfmmp_sold_by_product' ), 35 ); | |
add_action('electro_onsale_product_carousel_content_v2', array( $WCFMmp->frontend, 'wcfmmp_sold_by_product' ), 55 ); | |
add_action('electro_onsale_product_carousel_content_v3', array( $WCFMmp->frontend, 'wcfmmp_sold_by_product' ), 125 ); | |
} |
This file contains hidden or 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( 'vodi_video_search_result_page_header_tab', '__return_false' ); |
This file contains hidden or 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
if( ! function_exists( 'jh_child_submit_resume_field_remove' ) ) { | |
function jh_child_submit_resume_field_remove( $fields ) { | |
if( isset( $fields['resume_fields']['candidate_title'] ) ) { | |
unset( $fields['resume_fields']['candidate_title'] ); | |
} | |
if( isset( $fields['resume_fields']['candidate_video'] ) ) { | |
unset( $fields['resume_fields']['candidate_video'] ); | |
} |
This file contains hidden or 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
if ( ! function_exists( 'jh_child_customize_job_manager_job_form_company_fields' ) ) { | |
function jh_child_customize_job_manager_job_form_company_fields( $fields ) { | |
if( isset( $fields['job']['job_type'] ) ) { | |
unset( $fields['job']['job_type'] ); | |
} | |
if( isset( $fields['job']['job_category'] ) ) { | |
unset( $fields['job']['job_category'] ); | |
} |
This file contains hidden or 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
.hot-premier-show .columns-5 .movies__inner>.movie, | |
.hot-premier-show .columns-7 .movies__inner>.movie { | |
-webkit-box-flex: 0; | |
flex: 0 0 50%; | |
max-width: 50%; | |
} | |
@media (min-width: 768px) { | |
.hot-premier-show .columns-5 .movies__inner>.movie, |
This file contains hidden or 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
if ( ! function_exists( 'ec_child_enqueue_dokan_fontawesome' ) ) { | |
function ec_child_enqueue_dokan_fontawesome() { | |
if ( function_exists( 'is_dokan_activated' ) && is_dokan_activated() ) { | |
wp_enqueue_style( 'dokan-fontawesome' ); | |
} | |
} | |
} | |
add_action( 'wp_enqueue_scripts', 'ec_child_enqueue_dokan_fontawesome', 12 ); |
This file contains hidden or 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
if ( ! function_exists( 'jh_child_wc_account_redirect_non_logged_user_to_login_jobhunt_login_form' ) ) { | |
function jh_child_wc_account_redirect_non_logged_user_to_login_jobhunt_login_form() { | |
if ( ! is_user_logged_in() && ( ( is_account_page() && ! is_lost_password_page() ) || ( function_exists( 'jh_wpjm_get_page_id' ) && is_page( jh_wpjm_get_page_id( 'jobs-dashboard' ) ) ) ) ) { | |
$register_login_page = jobhunt_submit_job_form_login_url( get_permalink( get_option('woocommerce_myaccount_page_id') ) ); | |
wp_redirect( $register_login_page ); | |
exit(); | |
} | |
} | |
} | |
add_action( 'template_redirect', 'jh_child_wc_account_redirect_non_logged_user_to_login_jobhunt_login_form' ); |
This file contains hidden or 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
if ( ! function_exists( 'jh_child_remove_handheld_offcanvas_nav' ) ) { | |
function jh_child_remove_handheld_offcanvas_nav() { | |
remove_action( 'jobhunt_header_handheld', 'jobhunt_off_canvas_nav', 10 ); | |
} | |
} | |
add_action( 'init', 'jh_child_remove_handheld_offcanvas_nav' ); |