22 lines
875 B
PHP
22 lines
875 B
PHP
<?php
|
|
/* Developers : you can override this template from a theme with a file that has this path : 'nimble_templates/page-templates/nimble_template.php' */
|
|
namespace Nimble;
|
|
if ( !defined( 'ABSPATH' ) ) {
|
|
exit;
|
|
}
|
|
|
|
get_header();
|
|
|
|
do_action('nimble_template_before_content_sections');
|
|
Nimble_Manager()->render_nimble_locations(
|
|
array_keys( sek_get_local_content_locations() ),//array( 'loop_start', 'before_content', 'after_content', 'loop_end', + other custom registered locations ),
|
|
array(
|
|
// the location rendered even if empty.
|
|
// This way, the user starts customizing with only one location for the content instead of four
|
|
// But if the other locations were already customized, they will be printed.
|
|
'fallback_location' => 'loop_start'
|
|
)
|
|
);
|
|
do_action('nimble_template_after_content_sections');
|
|
|
|
get_footer(); |