forked from LiveCarta/LiveCartaWP
home page v3
This commit is contained in:
@@ -8,30 +8,30 @@ get_header();
|
||||
|
||||
<div class="content">
|
||||
<?php the_content();?><!--home page content from wp admin wysiwyg -->
|
||||
<?php if($posts):?>
|
||||
<div class="mp-blog">
|
||||
<div class="cont">
|
||||
<div class="inner-cont">
|
||||
<h4 class="text-header">Our Blog</h4>
|
||||
<div class="bp-list cat-all">
|
||||
<?php foreach ($posts as $post): ?>
|
||||
<a class="bp-block <?php $categories = get_the_category(); foreach($categories as $category):?><?= $category->slug; ?> <?php endforeach;?>" href="<?=get_permalink(); ?>">
|
||||
<span class="bp-img">
|
||||
<img src="<?=get_the_post_thumbnail_url(); ?>" alt="Blog img">
|
||||
</span>
|
||||
<span class="bp-title"><?=get_the_title($post); ?></span>
|
||||
<span class="bp-description"><?=get_the_excerpt(); ?></span>
|
||||
</a>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<div class="bp-btns">
|
||||
<a href="/blog" class="button secondary">Browse all blog articles</a>
|
||||
<?php if(false && $posts):?>
|
||||
<div class="mp-blog">
|
||||
<div class="cont">
|
||||
<div class="inner-cont">
|
||||
<h4 class="text-header">Our Blog</h4>
|
||||
<div class="bp-list cat-all">
|
||||
<?php foreach ($posts as $post): ?>
|
||||
<a class="bp-block <?php $categories = get_the_category(); foreach($categories as $category):?><?= $category->slug; ?> <?php endforeach;?>" href="<?=get_permalink(); ?>">
|
||||
<span class="bp-img">
|
||||
<img src="<?=get_the_post_thumbnail_url(); ?>" alt="Blog img">
|
||||
</span>
|
||||
<span class="bp-title"><?=get_the_title($post); ?></span>
|
||||
<span class="bp-description"><?=get_the_excerpt(); ?></span>
|
||||
</a>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<div class="bp-btns">
|
||||
<a href="/blog" class="button secondary">Browse all blog articles</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div class="mp-feature bot-form with-bg main">
|
||||
<!-- <div class="mp-feature bot-form with-bg main">
|
||||
<div class="cont">
|
||||
<div class="inner-cont">
|
||||
<div class="flex">
|
||||
@@ -62,21 +62,15 @@ get_header();
|
||||
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_f1055fdbaf5889ec432f2821f_a0685621c3" tabindex="-1" value=""></div>
|
||||
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button secondary big">
|
||||
</div>
|
||||
<!-- <div id="mce-responses" class="clear" style="position: absolute; left: 0; top: 100%; font-size: 1.2rem; margin-top: 1rem; color: red;">
|
||||
<div class="response" id="mce-error-response" style="display:none"></div>
|
||||
<div class="response" id="mce-success-response" style="display:none"></div>
|
||||
</div> -->
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script>
|
||||
<script type='text/javascript'>(function ($) { window.fnames = new Array(); window.ftypes = new Array(); fnames[0] = 'EMAIL'; ftypes[0] = 'email'; fnames[1] = 'FNAME'; ftypes[1] = 'text'; fnames[2] = 'LNAME'; ftypes[2] = 'text'; }(jQuery)); var $mcj = jQuery.noConflict(true);</script> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user