astra_entry_content_404_page_template()
404 markup
Description
=> Used in files:
/template-parts/content-404.php
Source
File: inc/template-parts.php
function astra_entry_content_404_page_template() {
$layout_404 = astra_get_option( 'ast-404-layout' );
$layout_404 = str_replace( '404-layout-', '', $layout_404 );
// Default 404 is nothing but the 404 layout 1.
if ( '1' == $layout_404 ) {
$layout_404 = '';
}
get_template_part( 'template-parts/404/404-layout', $layout_404 );
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |