Collection header

This commit is contained in:
Leo Germani 2018-05-11 11:19:34 -03:00
parent bbaf3e9c77
commit 5fb08a2e2c
2 changed files with 12 additions and 6 deletions

View File

@ -1,4 +1,5 @@
<?php get_header('homecollection'); ?>
<?php get_header('banner'); ?>
<?php get_template_part('tainacan/header-collection'); ?>
<div class="row">
<div class="col mx-sm-auto p-0">
<div id="content" role="main">

View File

@ -1,16 +1,21 @@
<?php
//Header with banner and menu
get_header('banner'); ?>
/**
* This template adss Collections details to the header
*
* It will only work with tainacan plugin enabled.
*
*/
?>
<div class="container-fluid">
<div class="row t-collection--info ml-sm-5">
<div class="col pr-0">
<img src="http://www.fabianoalencar.esy.es/rosto.png" class="t-collection--info-img rounded-circle img-fluid d-none d-md-block">
<img src="<?php echo get_the_post_thumbnail_url(tainacan_get_collection_id()); ?>" class="t-collection--info-img rounded-circle img-fluid d-none d-md-block">
</div>
<div class="col-10 pl-0">
<h2 class="mt-3 mt-md-0 t-collection--info-title">Title</h2>
<h2 class="mt-3 mt-md-0 t-collection--info-title"><?php tainacan_the_collection_name(); ?></h2>
<div class="d-flex justify-content-between container ml-0 pl-0">
<div>Description of collection</div>
<div><?php tainacan_the_collection_description(); ?></div>
<div>
<a href="#" class="">Icon 1</a> <a href="#">Icon 2</a>
</div>