astra_get_blog_layout()

Get Astra blog layout design.


Description

Search / Blog.


Return

(string) $blog_layout.


Source

File: inc/extras.php

function astra_get_blog_layout() {
	return ( is_search() && '' !== astra_get_option( 'ast-search-results-style' ) ) ? astra_get_option( 'ast-search-results-style' ) : astra_get_option( 'blog-layout' );
}

Changelog

Changelog
Version Description
4.6.0 Introduced.


User Contributed Notes

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