astra_get_blog_post_title()

Blog post title


Description


Source

File: inc/blog/blog.php

function astra_get_blog_post_title() {

	do_action( 'astra_archive_post_title_before' );

	/* translators: 1: Current post link, 2: Current post id */
	astra_the_post_title(
		sprintf(
			'<h2 class="entry-title ast-blog-single-element" %2$s><a href="%1$s" rel="bookmark">',
			esc_url( get_permalink() ),
			astra_attr(
				'article-title-blog',
				array(
					'class' => '',
				)
			)
		),
		'</a></h2>',
		get_the_id()
	);

	do_action( 'astra_archive_post_title_after' );

}

Changelog

Changelog
Version Description
4.6.0 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.