File "entry-loop-title.php"

Full Path: /home/magiggjm/magistvandroids.com/wp-content/plugins/kadence-blocks/includes/templates/entry-loop-title.php
File size: 716 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
/**
 * Entry Template for Posts Block.
 *
 * This template can be overridden by copying it to yourtheme/kadence-blocks/entry-loop-title.php.
 *
 * @package Kadence Blocks
 */

defined( 'ABSPATH' ) || exit;

$html_tag = ( isset( $attributes ) && is_array( $attributes ) && isset( $attributes['titleFont'] ) && is_array( $attributes['titleFont'] ) && isset( $attributes['titleFont'][0] ) && isset( $attributes['titleFont'][0]['level'] ) && ! empty( $attributes['titleFont'][0]['level'] ) ? 'h' . $attributes['titleFont'][0]['level'] : 'h2' );

the_title( '<' . esc_attr( $html_tag ) . ' class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></' . esc_attr( $html_tag ) . '>' );