jQuery('a.woosw-btn').html('<i class="fa fa-heart-o" aria-hidden="true"></i>');
jQuery(document).on('mouseenter', 'a.woosw-btn', function() {
jQuery(this).html('<i class="fa fa-heart" aria-hidden="true"></i>');
});
jQuery(document).on('mouseleave', 'a.woosw-btn', function() {
jQuery(this).html('<i class="fa fa-heart-o" aria-hidden="true"></i>');
});
<div class="row">
<div class="col-12 d-block d-md-none">
<header class="dmbs-single-course-header">
<h1 class="dmbs-single-course-title">Заголовок</h1>
</header>
</div>
<div class="col-12 col-md-6 col-lg-5 dmbs-single-course-img">
<div class="dmbs-post-featured-image">Картинка</div>
</div>
<div class="col-12 col-md-6 col-lg-7">
<header class="dmbs-single-course-header d-none d-md-block">
<h1 class="dmbs-single-course-title">Заголовок</h1>
</header>
<div class="dmbs-single-course-duration order-2 order-md-1">Содержимое блока</div>
<div class="dmbs-single-course-excerpt-txt order-3 order-md-2">Содержимое блока</div>
<div class="dmbs-single-course-excerpt-offer order-1 order-md-3">Содержимое блока</div>
</div>
</div>
<?php if ( have_posts() ) : ?>
<?php
// Start the loop.
while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class('card dmbs-post'); ?>>
<header class="card-header dmbs-post-header">
<?php the_title( sprintf( '<h2 class="dmbs-post-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
<?php get_template_part('template-parts/postmeta','header'); ?>
</header>
<?php if ( has_post_thumbnail() ) : ?>
<div class="dmbs-post-featured-image">
<?php the_post_thumbnail('featured', array('class' => 'card-img-top')); ?>
</div>
<?php endif; ?>
<div class="card-body dmbs-post-content">
<?php if ( has_excerpt() ) : ?>
<div class="dmbs-post-summary">
<?php the_excerpt(); ?>
</div><!-- .entry-summary -->
<?php endif; ?>
<?php
/* translators: %s: Name of current post */
the_content( sprintf( __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'devdmbootstrap4' ),
get_the_title()
) );
wp_link_pages();
?>
</div>
<footer class="card-footer dmbs-post-footer">
<?php get_template_part('template-parts/postmeta','footer'); ?>
</footer>
</article>
<?php
// End the loop.
endwhile;
?>
<?php endif; ?>
function tinymce_update_valid_items($init)
{
$init['valid_elements'] = 'span[*],i[*]';
$init['extended_valid_elements'] = 'span[*],i[*]';
$init['invalid_elements '] = 'br[*]';
return $init;
}
add_filter('tiny_mce_before_init', 'tinymce_update_valid_items');
<div class="container">
<div class="form-row">
<div class="col-12 col-lg-6 mb-3 mb-lg-0">
<div class="mb-3">
<input type="text" name="name" value="" size="40" class="form-control" aria-required="true" aria-invalid="false" placeholder="Фамилия Имя Отчество">
</div>
<div class="mb-3">
<input type="tel" name="phone" value="" class="form-control" size="40" aria-required="true" placeholder="+7 (___) ___ - __ - __">
</div>
<div class="mb-3">
<input type="email" name="your-email" value="" size="40" class="form-control" aria-invalid="false" placeholder="Ваш e-mail">
</div>
<div class="mb-0 mb-lg-3">
<input type="text" name="your-addr" value="" size="40" class="form-control" aria-invalid="false" placeholder="Адрес доставки">
</div>
</div>
<div class="col-12 col-lg-6 mb-3 mb-lg-0 d-lg-flex flex-lg-column">
<div class="mb-3">
<input type="text" name="your-type" value="" size="40" class="form-control" aria-invalid="false" placeholder="Тип выписки">
</div>
<div class="mb-3 flex-fill">
<textarea name="your-kadastr" cols="40" rows="5" class="form-control h-100" aria-invalid="false" placeholder="Адрес или кадастровый номер объекта"></textarea>
</div>
</div>
</div>
</div>