forked from LiveCarta/LiveCartaWP
115 lines
4.4 KiB
PHP
115 lines
4.4 KiB
PHP
<?php
|
|
get_header();
|
|
$post = get_post();
|
|
?>
|
|
<div class="content no-pb">
|
|
|
|
<div class="breadcrumbs">
|
|
<div class="cont">
|
|
<div class="inner-cont">
|
|
<ol class="breadcrumb">
|
|
<li><a href="/">Home</a></li>
|
|
<li><a href="/blog">Blog</a></li>
|
|
<li class="active"><?=get_the_title($post); ?></li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="blog-header">
|
|
<div class="cont">
|
|
<div class="inner-cont">
|
|
<div class="flex">
|
|
<div class="blog-title col">
|
|
<h1><?=get_the_title($post); ?></h1>
|
|
</div>
|
|
<div class="blog-img col">
|
|
<img src="<?=get_the_post_thumbnail_url(); ?>" alt="How To Become An Author In 2020">
|
|
</div>
|
|
</div>
|
|
<div class="blog-subheader">
|
|
<div class="blog-date"><?=get_the_date(); ?></div>
|
|
<div class="blog-tags"><?php
|
|
$tags = get_the_tags();
|
|
$tag_links = [];
|
|
if($tags) {
|
|
foreach ($tags as $tag) {
|
|
$tag_link = get_tag_link($tag->term_id);
|
|
$tag_links[] = "<span>{$tag->name}</span>";
|
|
}
|
|
}
|
|
?>
|
|
<?=implode(', ', $tag_links); ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="blog-body">
|
|
<div class="cont">
|
|
<div class="inner-cont">
|
|
|
|
<div class="bb-cont">
|
|
<div class="blog-page-social">
|
|
<a href="https://twitter.com/intent/tweet?text=<?php the_permalink(); ?>" class="social twitter" target="_blank"></a>
|
|
<a href="https://www.linkedin.com/sharing/share-offsite/?url=<?php the_permalink(); ?>" class="social linkedin" target="_blank"></a>
|
|
<a href="https://www.facebook.com/sharer/sharer.php?u=#url" class="social facebook" target="_blank"></a>
|
|
</div>
|
|
<div class="blog-page-text">
|
|
<?=get_the_content(null,false, $post); ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mp-feature with-bg bot-form">
|
|
<div class="cont">
|
|
<div class="inner-cont">
|
|
<div class="flex">
|
|
<div class="col">
|
|
<div class="mp-interested centered">
|
|
<h4 class="text-header">Interested? Get to know more</h4>
|
|
<div class="buttons">
|
|
<a href="/contact-us" class="button action big">Request a demo</a>
|
|
<a href="<?= get_lawcarta_url()?>/user/registration" class="button secondary big">Sign up for free</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- <div class="blog-page-single">
|
|
<div class="read-next">
|
|
<div class="rn-head">What you may want to read next...</div>
|
|
<div class="rn-body">
|
|
<div class="cont">
|
|
<?php
|
|
global $post;
|
|
$myposts = get_posts(['numberposts' => 3, 'orderby' => 'rand']);
|
|
if($myposts):
|
|
foreach ( $myposts as $post ) :
|
|
setup_postdata( $post ); ?>
|
|
<a class="rn-block" href="<?php the_permalink(); ?>">
|
|
<div class="text">
|
|
<span class="head"><span class="text-overflow"><?php the_title(); ?></span></span>
|
|
<span class="text-overflow"><?php the_excerpt(); ?></span>
|
|
</div>
|
|
</a>
|
|
<?php
|
|
endforeach;
|
|
endif;
|
|
wp_reset_postdata();
|
|
?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> -->
|
|
</div>
|
|
|
|
<?php
|
|
get_footer();
|