forked from sovware/directorist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsidebar-archive-contents.php
57 lines (47 loc) · 1.23 KB
/
sidebar-archive-contents.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
/**
* @author wpWax
* @since 6.6
* @version 8.0
*/
if ( ! defined( 'ABSPATH' ) ) exit;
?>
<div <?php $listings->wrapper_class(); $listings->data_atts(); ?>>
<div class="listing-with-sidebar">
<div class="directorist-container">
<div class="listing-with-sidebar__wrapper">
<div class="listing-with-sidebar__type-nav">
<?php
$listings->directory_type_nav_template();
?>
</div>
<?php if( ! $listings->hide_top_search_bar_on_sidebar_layout() ) : ?>
<div class="listing-with-sidebar__searchform">
<?php
$listings->basic_search_form_template();
?>
</div>
<?php endif; ?>
<?php if( $listings->header ) : ?>
<div class="listing-with-sidebar__header">
<?php
$listings->header_bar_template();
?>
</div>
<?php endif; ?>
<div class="listing-with-sidebar__contents">
<aside class="listing-with-sidebar__sidebar <?php echo esc_attr( $listings->sidebar_class() ); ?>">
<?php
$listings->advance_search_form_template();
?>
</aside>
<section class="listing-with-sidebar__listing">
<?php
$listings->archive_view_template();
?>
</section>
</div>
</div>
</div>
</div>
</div>