use new template tag to render faceted search
This commit is contained in:
parent
dfe5259ff6
commit
2965f5f77c
|
@ -3,7 +3,7 @@
|
|||
<div class="row">
|
||||
<div class="col mx-sm-auto p-0">
|
||||
<div id="content" role="main">
|
||||
<div id="tainacan-items-page" collection-id="<?php echo tainacan_get_collection_id(); ?>"></div>
|
||||
<?php tainacan_the_faceted_search(); ?>
|
||||
</div><!-- /#content -->
|
||||
</div>
|
||||
</div><!-- /.row -->
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
|
||||
|
||||
<?php var_dump($request['fetch_only']); if (have_posts()): ?>
|
||||
<?php if (have_posts()): ?>
|
||||
|
||||
<div class="list-container">
|
||||
|
||||
|
||||
<?php while (have_posts()): the_post(); ?>
|
||||
|
||||
|
@ -18,11 +15,11 @@
|
|||
</div>
|
||||
|
||||
<div class="list-metadata">
|
||||
<?php foreach ($request['fetch_only']['meta'] as $meta_id): ?>
|
||||
<?php foreach ($displayed_metadata as $meta_id): ?>
|
||||
|
||||
<span>
|
||||
<p>
|
||||
<?php tainacan_the_metadata((int) $meta_id); ?>
|
||||
<?php tainacan_the_metadata($meta_id); ?>
|
||||
</p>
|
||||
</span>
|
||||
|
||||
|
@ -34,8 +31,6 @@
|
|||
</div>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue