add files
This commit is contained in:
63
template-parts/single/post-dzen-less.php
Normal file
63
template-parts/single/post-dzen-less.php
Normal file
@@ -0,0 +1,63 @@
|
||||
<!--[single/post]-->
|
||||
|
||||
<div class="profile_onenews" itemscope itemtype="https://schema.org/NewsArticle">
|
||||
|
||||
<?php get_template_part("template-parts/single/post-data") ?>
|
||||
|
||||
<?php get_template_part("template-parts/micro/post"); ?>
|
||||
|
||||
<h1 class="profile_onenews__title">
|
||||
|
||||
<?= the_title() ?>
|
||||
|
||||
</h1>
|
||||
|
||||
<?php if (has_secondary_title()): ?>
|
||||
|
||||
<h2 class="profile_onenews__subtitle mb-4">
|
||||
|
||||
<?= get_secondary_title(); ?>
|
||||
|
||||
</h2>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php get_template_part("template-parts/single/disclaimer") ?>
|
||||
|
||||
<div class="profile_onenews__body">
|
||||
|
||||
<?php get_template_part("template-parts/single/post-social-share") ?>
|
||||
|
||||
<?php if( has_post_thumbnail() && show_post_thumbnail() ) : ?>
|
||||
|
||||
<?php the_post_thumbnail(); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="micromarking">
|
||||
|
||||
<?= get_first_pharagraph( get_the_content() ) ?>
|
||||
|
||||
<?= the_content() ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php get_template_part("template-parts/single/banned") ?>
|
||||
|
||||
<?php get_template_part("template-parts/single/post-subscribe-disclaimer") ?>
|
||||
|
||||
<?php get_template_part("template-parts/single/post-tags") ?>
|
||||
|
||||
<?php get_template_part("template-parts/single/post-most-popular") ?>
|
||||
|
||||
<?php get_template_part("template-parts/partners/smi2") ?>
|
||||
|
||||
<?php get_template_part("template-parts/partners/setka") ?>
|
||||
|
||||
<?php get_template_part("template-parts/single/ajax-load-more") ?>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!--[/single/post]-->
|
||||
Reference in New Issue
Block a user