Looks like you configured your theme single-listing.php and archive-listing.php correctly.
Replicate those files and call them single-directory.php and archive-directory.php
Then in single-directory.php use the directory hook:
do_action('epl_sd_single_content');
instead of do_action('epl_property_single');
For the archive-directory.php use:
<?php
$dir_counter = 1;
while ( have_posts() ) : // The Loop
the_post();
if( is_sd_section_title() ) {
epl_sd_loop_template($dir_counter,'section-header');
} else {
if ( has_post_thumbnail() ) {
epl_sd_loop_template($dir_counter,'simple-card');
} else {
epl_sd_loop_template($dir_counter,'simple-grav');
}
}
$dir_counter++;
endwhile; // end of one post
?>
Instead of
<?php do_action( 'epl_property_loop_start' ); ?>
<?php while ( have_posts() ) : // The Loop
the_post();
do_action('epl_property_blog');
endwhile; // end of one post
?>
<?php do_action( 'epl_property_loop_end' ); ?>