post_excerpt; ?>
'',
'alt' => $attachment->post_excerpt
)); ?>
', ''); ?>
-
post_excerpt; ?>
- 's-img-switch', 'alt' => $attachment->post_excerpt ) ); ?>
post_excerpt; ?>
's-img-switch',
'alt' => $attachment->post_excerpt
) ); ?>
'',
'alt' => ''
) ); ?>
', '');
if(get_the_excerpt()){ ?>
post_excerpt;
echo awa_the_lazy_load_flter( $url, array(
'class' => '',
'alt' => $attachment->post_excerpt
) );
if(!empty($blockquote) && $count == '2'){ ?>
', ''); ?>
's-img-switch',
'alt' => ''
) ); ?>
ID, 'portfolio-category');
$my_cat = array();
foreach ( $terms as $term ) {
$my_cat[] = $term->term_id;
}
$args = array(
'post_type' => 'portfolio',
'posts_per_page' => 3,
'tax_query' => array(
array(
'taxonomy' => 'portfolio-category',
'field' => 'id',
'terms' => $my_cat
)
),
'orderby' => 'date',
'order' => 'DESC',
'ignore_sticky_posts' => true,
'post__not_in' => array( get_the_ID() )
);
$query = new WP_Query( $args );
if ( $query->have_posts() ) {
if ( function_exists( 'cs_framework_init' )){ ?>
have_posts() ) {
$query->the_post();
$imagerec = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'post-thumbnail' );
$no_image = ! has_post_thumbnail() ? ' no-image' : ''; ?>
', '');
if(get_post_thumbnail_id(get_the_ID())){
$image_id = get_post_thumbnail_id(get_the_ID());
$url = wp_get_attachment_image_url($image_id, 'full');
echo awa_the_lazy_load_flter( $url, array(
'class' => 's-img-switch',
'alt' => ''
) );
} ?>
post_excerpt;
echo awa_the_lazy_load_flter( $url, array(
'class' => 'gallery-item',
'alt' => $attachment->post_excerpt
) );
} ?>
post_excerpt; ?>
'',
'alt' => $attachment->post_excerpt
) ); ?>
', '');
if(get_post_thumbnail_id(get_the_ID())){
$image_id = get_post_thumbnail_id(get_the_ID());
$url = wp_get_attachment_image_url($image_id, 'full');
echo awa_the_lazy_load_flter( $url, array(
'class' => 's-img-switch',
'alt' => ''
) );
}
if (cs_get_option('social_portfolio') ) {
if (!empty($portfolio_meta[0]['awa_social_portfolio'])) { ?>
post_excerpt; ?>
's-img-switch',
'alt' => $attachment->post_excerpt
) ); ?>
post_excerpt;
echo awa_the_lazy_load_flter( $url, array(
'class' => 'gallery-item',
'alt' => $attachment->post_excerpt
) );
} ?>
ID, 'portfolio-category');
$my_cat = array();
foreach ( $terms as $term ) {
$my_cat[] = $term->term_id;
}
$args = array(
'post_type' => 'portfolio',
'posts_per_page' => 3,
'tax_query' => array(
array(
'taxonomy' => 'portfolio-category',
'field' => 'id',
'terms' => $my_cat
)
),
'orderby' => 'date',
'order' => 'DESC',
'ignore_sticky_posts' => true,
'post__not_in' => array( get_the_ID() )
);
$query = new WP_Query( $args );
if ( $query->have_posts() ) {
if ( function_exists( 'cs_framework_init' )){ ?>
have_posts() ) {
$query->the_post();
$imagerec = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'post-thumbnail' );
$no_image = ! has_post_thumbnail() ? ' no-image' : ''; ?>