Странная аномалия в блоке ссылке с тегом Wordpress тема Flash
Когда пытаюсь сделать блок ссылочным, то возникает проблема - внизу блока добавляется иконка плюсика на сером фоне который растянут на ширину блока.
Перепробовал много вариантов. Конечная цель сделать так, чтобы блок был кликабельным (по картинке, а не только по текстовой ссылке). Пока ни один из моих способов не помог. Буду очень рад если предложите хорошее решение.
Вот код:
if ( has_post_thumbnail() ) {
$output .= '<div href="' . get_the_permalink( $post->ID ) . '" class="tg-feature-product-widget element-item uxdesign ' . $column . ' ' . $termsString . '" data-category="' . $termsString . '">';
$output .= '<figure>';
$output .= get_the_post_thumbnail( $post->ID, 'full' );
$output .= '</figure>';
$output .= '<a href="' . get_the_permalink( $post->ID ) . '" class="featured-image-desc">';
$output .= '<span><a href="' . get_the_permalink( $post->ID ) . '"><i class="fa fa-plus"></i></a></span>';
$output .= '<div class="feature-inner-block" onclick="return location.href = ' . get_the_permalink( $post->ID ) . '">';
$output .= '<h3 class="feature-title-wrap"><a href="' . get_the_permalink( $post->ID ) . '">' . get_the_title( $post->ID ) . '</a></h3>';
$output .= '<h4 class="feature-desc-wrap">' . flash_so_pagebuilder_get_the_excerpt( $post ) . '</h4>';
$output .= '</div>';
$output .= '</a>';
$output .= '</div>';
}