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
/* ---------- CSS | |
- should be "attached" to the master Section */ | |
/* make 100% wide columns possible for Desktop devices in Elementor */ | |
.custom-swiper .elementor-container .elementor-row { | |
/*flex-wrap: wrap;*/ | |
} | |
/* make all the colums-slides 100% wide and full screen tall */ | |
.custom-swiper > .elementor-container > .elementor-row > .elementor-element.elementor-column { | |
width: 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
<?php | |
function wc_varb_price_range( $wcv_price, $product ) { | |
$prefix = sprintf('%s: ', __('From', 'wcvp_range')); | |
$wcv_reg_min_price = $product->get_variation_regular_price( 'min', true ); | |
$wcv_min_sale_price = $product->get_variation_sale_price( 'min', true ); | |
$wcv_max_price = $product->get_variation_price( 'max', true ); | |
$wcv_min_price = $product->get_variation_price( 'min', 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
<?php | |
function con_show_max_variation_price_only( $price, $product ) { | |
// Main Variation Price | |
$prices = array( $product->get_variation_price( 'max', true ), $product->get_variation_price( 'min', true ) ); | |
$price = $prices[0] !== $prices[1] ? sprintf( __( '%1$s', 'woocommerce' ), wc_price( $prices[0] ) ) : wc_price( $prices[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
{ | |
"themes": [ | |
"astra", | |
], | |
"plugins": [ | |
"elementor", | |
"woocommerce", | |
"classic-editor", | |
"essential-addons-for-elementor-lite", | |
"all-in-one-wp-migration", |
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 sermon_customizer_settings($wp_customizer){ | |
$wp_customizer->add_section('sermon_settings', array( | |
'title' => esc_html__('Sermon Options', 'sermon'), | |
'priority' => 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
/* Medium Layout: 1280px. */ | |
@media only screen and (min-width: 992px) and (max-width: 1200px) {} | |
/* Tablet Layout: 768px. */ | |
@media only screen and (min-width: 768px) and (max-width: 991px) { | |
} |
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 morus_comments( $comment, $args, $depth ) { | |
if ( 'div' == $args['style'] ) { | |
$tag = 'div'; | |
$add_below = 'div-comment'; | |
} else { | |
$tag = 'li'; | |
$add_below = 'comment'; | |
} |
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 | |
$morus_comment_count = get_comments_number(); | |
if ( $morus_comment_count <= 1 ) { | |
echo "(" . esc_html( $morus_comment_count ) . ")" . __( ' Comment', 'morus' ); | |
} else { | |
echo "(" . esc_html( $morus_comment_count ) . ")" . __( ' Comments', 'morus' ); | |
} | |
?> |
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 | |
//MORUS SEARCH | |
function morus_search_form() { | |
$home_url = esc_url( get_home_url( '/' ) ); | |
$value = esc_attr( get_search_query() ); | |
$lable = __( 'Search', 'morus' ); | |
$form = <<<FORM | |
<form action="{$home_url}" method="GET"> | |
<input name="s" value="{$value}" type="text" placeholder="{$lable}" class="form-control" id="search_input"> |
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 | |
$this->add_control( 'testimonial_items', [ | |
'label' => esc_html__( 'Testimonial Item', 'appside-master' ), | |
'type' => Controls_Manager::REPEATER, | |
'default' => [ | |
[ | |
'designation' => esc_html__( 'Technician', 'appside-master' ), | |
], |
NewerOlder