View gist:09674ad0afc0639199d7edadb690e52a
add_filter( 'get_custom_logo', 'onepress_child_custom_logo' );
function onepress_child_custom_logo() {
$custom_logo_id = get_theme_mod( 'custom_logo' );
$html = sprintf( '<a target="_blank" href="%1$s" class="custom-logo-link" rel="home" itemprop="url">%2$s</a>',
esc_url( home_url( '/' ) ),
wp_get_attachment_image( $custom_logo_id, 'full', false, array(
'class' => 'custom-logo',
) )
);
View feature-item.html
<div class="feature-item col-lg-3 col-sm-6 wow slideInUp" style="visibility: visible; animation-name: slideInUp;">
<div class="feature-media">
<span class="icon-image"><img src="http://efunstore.zenzoneguide.com/wp-content/uploads/2017/10/AB001A001.png" alt=""></span>
</div>
<h4>公館農會─紅棗乾</h4>
<div class="feature-item-content"></div>
</div>
View section-videolightbox.php
<?php
$lang = qtranxf_getLanguage();
if ( $lang == 'en' ) {
$video = 'your video link in English';
} else if( $lang == 'ru' ) {
$video = 'your video link in Ru';
} else {
$video = get_theme_mod( 'onepress_videolightbox_url' );
}
View team.html
<div class="team-members row team-layout-3">
<div class="team-member wow slideInUp" style="visibility: visible; animation-name: slideInUp;">
<div class="member-thumb">
<img src="http://academicalpha.ch/wp-content/uploads/2017/08/krohmer-300x300.png" alt="">
<div class="member-profile">
</div>
</div>
<div class="member-info">
<h5 class="member-name">PROF. DR. HARLEY KROHMER</h5>
<span class="member-position">VERWALTUNGSRATSPRÄSIDENT</span>
View section-pricing.php
<?php
$onepress_pricing_id = get_theme_mod( 'onepress_pricing_id', esc_html__('pricing', 'onepress-plus') );
$onepress_pricing_title = get_theme_mod( 'onepress_pricing_title', esc_html__('Pricing Table', 'onepress-plus' ));
$onepress_pricing_subtitle = get_theme_mod( 'onepress_pricing_subtitle', esc_html__('Responsive pricing section', 'onepress-plus' ));
$desc = get_theme_mod( 'onepress_pricing_desc' )
?>
<?php if ( ! onepress_is_selective_refresh() ){ ?>
<section <?php if ( $onepress_pricing_id ) { ?>id="<?php echo esc_attr( $onepress_pricing_id ); ?>" <?php } ?> class="<?php echo esc_attr( apply_filters( 'onepress_section_class', 'section-pricing section-padding onepage-section', 'pricing' ) ); ?>">
<?php } ?>
<?php do_action( 'onepress_section_before_inner', 'pricing' ); ?>
View functions.php
add_filter('wpcoupon_ending_soon_coupons_day_left', 'change_number_expired_coupon');
function change_number_expired_coupon( $number ) {
$number = 2; return $number;
}
View widget.html
<div class="contact-info-box">
<div class="contact-info-item">
<div class="contact-text"><i class="fa fa-map-marker"></i></div>
<div class="contact-value">1600 Amphitheatre Parkway<br>
Mountain View CA 94043
</div>
</div>
<div class="contact-info-item">
<div class="contact-text"><i class="fa fa-phone"></i></div>
<div class="contact-value">1.800.451.128</div>
View functions.php
function boston_posted_on() {
$time_string = '<time class="entry-date published updated" datetime="%1$s">%2$s</time>';
if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
$time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time>';
}
$time_string = sprintf( $time_string,
esc_attr( get_the_date( 'c' ) ),
esc_html( get_the_date() )
);
View loop-coupon-cat.php
<?php
$has_thumb = wpcoupon_maybe_show_coupon_thumb();
$has_expired = wpcoupon_coupon()->has_expired();
?>
<div data-id="<?php echo wpcoupon_coupon()->ID; ?>"
class="coupon-item store-listing-item <?php echo $has_thumb ? 'has-thumb' : 'no-thumb'; ?> c-cat c-type-<?php echo esc_attr( wpcoupon_coupon()->get_type() ); ?> shadow-box <?php echo ( $has_expired ) ? 'coupon-expired' : 'coupon-live'; ?>">
<?php if ( $has_thumb ) { ?>
<div class="store-thumb-link">
<?php wpcoupon_thumb( $has_thumb === 'save_value' ? true : false ); ?>
<div class="store-name"><a href="<?php echo wpcoupon_coupon()->get_store_url(); ?>"><?php printf( esc_html__( '%s Coupons', 'wp-coupon' ), wpcoupon_coupon()->store->name ); ?><i class="angle right icon"></i></a></div>
View phpstorm scss
--no-cache
--update
--sourcemap=none
--style=expanded
$FileName$:../../$FileNameWithoutExtension$.css
../../$FileNameWithoutExtension$.css