single items of collections display de document, text and url.
This commit is contained in:
parent
9f2739670e
commit
0d4751e82b
|
@ -60,6 +60,20 @@
|
|||
border-top: 1px solid #cbcbcb;
|
||||
border-bottom: 1px solid #cbcbcb;
|
||||
}
|
||||
&.single-item-collection{
|
||||
.single-item-collection--document{
|
||||
iframe, img.attachment-large {
|
||||
width: 100%;
|
||||
height: 600px;
|
||||
}
|
||||
}
|
||||
.single-item-collection--information{
|
||||
h5{
|
||||
color: #000;
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
footer{
|
||||
font-size: 14pt;
|
||||
|
|
|
@ -1,48 +1,109 @@
|
|||
<?php get_header(); ?>
|
||||
<?php if(have_posts()): ?>
|
||||
<?php while(have_posts()): the_post(); ?>
|
||||
<div class="tainacan-title mt-5">
|
||||
<div class="border-bottom border-jelly-bean tainacan-title-page" style="border-width: 2px !important;">
|
||||
<ul class="list-inline mb-1">
|
||||
<li class="list-inline-item text-midnight-blue font-weight-bold title-page">
|
||||
<?php the_title(); ?>
|
||||
</li>
|
||||
<li class="list-inline-item float-right title-back"><a href="javascript:history.go(-1)"><?php _e('Back'); ?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mt-3 tainacan-single-post">
|
||||
<article role="article" id="post_<?php the_ID()?>" <?php post_class()?>>
|
||||
<header class="mb-4">
|
||||
<div class="header-meta text-muted mb-5">
|
||||
<?php
|
||||
_e('By', 'tainacan-theme');
|
||||
echo ' ';
|
||||
the_author_posts_link();
|
||||
echo ' ';
|
||||
_e('on', 'tainacan-theme');
|
||||
?>
|
||||
|
||||
<div class="container-fluid mt-5 max-large">
|
||||
<div class="row">
|
||||
<div class="col col-sm mx-sm-auto">
|
||||
<div id="content" role="main">
|
||||
<?php if(have_posts()): ?>
|
||||
<?php while(have_posts()): the_post(); ?>
|
||||
<div class="tainacan-title">
|
||||
<div class="border-bottom border-jelly-bean tainacan-title-page" style="border-width: 2px !important;">
|
||||
<ul class="list-inline mb-1">
|
||||
<li class="list-inline-item text-midnight-blue font-weight-bold title-page">
|
||||
<?php the_title(); ?>
|
||||
</li>
|
||||
<li class="list-inline-item float-right title-back"><a href="javascript:history.go(-1)"><?php _e('Back'); ?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<?php //the_post_thumbnail(); ?>
|
||||
</header>
|
||||
<section class="tainacan-content text-tundora">
|
||||
<?php
|
||||
tainacan_the_document();
|
||||
?>
|
||||
</section>
|
||||
</article>
|
||||
<div class="row">
|
||||
<!-- Container -->
|
||||
<div class="col mt-3 mx-auto">
|
||||
<?php
|
||||
if ( comments_open() || get_comments_number() ) :
|
||||
comments_template();
|
||||
endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
<?php else: ?>
|
||||
<?php _e('Nothing found', 'tainacan-theme'); ?>
|
||||
<?php endif; ?>
|
||||
<div class="mt-3 tainacan-single-post">
|
||||
<article role="article" id="post_<?php the_ID()?>" <?php post_class()?>>
|
||||
<header class="mb-4">
|
||||
<div class="header-meta text-muted mb-5">
|
||||
<?php
|
||||
_e('By', 'tainacan-theme');
|
||||
echo ' ';
|
||||
the_author_posts_link();
|
||||
echo ' ';
|
||||
_e('on', 'tainacan-theme');
|
||||
echo ' ';
|
||||
tainacan_post_date();
|
||||
?>
|
||||
</div>
|
||||
<?php //the_post_thumbnail(); ?>
|
||||
</header>
|
||||
<section class="tainacan-content single-item-collection text-tundora">
|
||||
<div class="single-item-collection--document">
|
||||
<?php tainacan_the_document(); ?>
|
||||
</div>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
<div class="tainacan-title my-5">
|
||||
<div class="border-bottom border-jelly-bean tainacan-title-page" style="border-width: 2px !important;">
|
||||
<ul class="list-inline mb-1">
|
||||
<li class="list-inline-item text-midnight-blue font-weight-bold title-page">
|
||||
<?php _e('Attachments'); ?>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mt-3 tainacan-single-post">
|
||||
<article role="article">
|
||||
<section class="tainacan-content single-item-collection text-tundora">
|
||||
<div class="single-item-collection--attachments">
|
||||
<?php //tainacan_the_attachment(); ?>
|
||||
</div>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
<div class="tainacan-title my-5">
|
||||
<div class="border-bottom border-jelly-bean tainacan-title-page" style="border-width: 2px !important;">
|
||||
<ul class="list-inline mb-1">
|
||||
<li class="list-inline-item text-midnight-blue font-weight-bold title-page">
|
||||
<?php _e('Information'); ?>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mt-3 tainacan-single-post">
|
||||
<article role="article">
|
||||
<section class="tainacan-content single-item-collection text-tundora">
|
||||
<div class="single-item-collection--information">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h5>Description</h5>
|
||||
<span><?php //tainacan_the_description(); ?></span>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h5>Miniature</h5>
|
||||
</div>
|
||||
<div class="col">
|
||||
<h5>Voting</h5>
|
||||
<div class="col pl-0">
|
||||
<h5>Sharing</h5>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<p><strong><?php _e('Type'); ?>:</strong></p>
|
||||
<p><strong><?php _e('Year'); ?>:</strong></p>
|
||||
<p><strong><?php _e('Pickers'); ?>:</strong></p>
|
||||
<p><strong><?php _e('Model'); ?>:</strong></p>
|
||||
<p><strong><?php _e('Brand'); ?>:</strong></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
<?php else: ?>
|
||||
<?php _e('Nothing found', 'tainacan-theme'); ?>
|
||||
<?php endif; ?>
|
||||
</div><!-- /#content -->
|
||||
</div>
|
||||
</div><!-- /.row -->
|
||||
</div>
|
||||
<?php get_footer(); ?>
|
Loading…
Reference in New Issue