Astra_Loop::template_parts_default()
Template part default
Description
Return
(void)
Source
File: inc/class-astra-loop.php
public function template_parts_default() { if ( ! is_page() && ! is_single() && ! is_search() && ! is_404() ) { /* * Include the Post-Format-specific template for the content. * If you want to override this in a child theme, then include a file * called content-___.php (where ___ is the Post Format name) and that will be used instead. */ get_template_part( 'template-parts/content', astra_get_post_format() ); } }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
1.2.7 | Introduced. |