forked from LiveCarta/LiveCartaWP
wp fixes
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -65,7 +65,7 @@ add_action('wp_enqueue_scripts', function () {
|
|||||||
// wp_enqueue_script('lawcarta-js', get_theme_file_uri('/assets/js/faqSearch.js'), ['custom-jquery'], null, true);
|
// wp_enqueue_script('lawcarta-js', get_theme_file_uri('/assets/js/faqSearch.js'), ['custom-jquery'], null, true);
|
||||||
// wp_enqueue_style('lawcarta-libs', get_theme_file_uri('/assets/css/libs.min.css'), [], '100');
|
// wp_enqueue_style('lawcarta-libs', get_theme_file_uri('/assets/css/libs.min.css'), [], '100');
|
||||||
|
|
||||||
wp_enqueue_style('lawcarta-style-index', get_theme_file_uri('/assets/css/styles-main-page.min.css'), null, '109');
|
wp_enqueue_style('lawcarta-style-index', get_theme_file_uri('/assets/css/styles-main-page.min.css'), null, '110');
|
||||||
|
|
||||||
// if(is_front_page()){
|
// if(is_front_page()){
|
||||||
// wp_enqueue_style('lawcarta-style-index', get_theme_file_uri('/assets/css/main-page.min.css'),['lawcarta-libs'], '101');
|
// wp_enqueue_style('lawcarta-style-index', get_theme_file_uri('/assets/css/main-page.min.css'),['lawcarta-libs'], '101');
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ get_header();
|
|||||||
<div class="mp-blog">
|
<div class="mp-blog">
|
||||||
<div class="cont">
|
<div class="cont">
|
||||||
<div class="inner-cont">
|
<div class="inner-cont">
|
||||||
<h4 class="text-header">More from the Blog</h4>
|
<h4 class="text-header">Our Blog</h4>
|
||||||
<div class="bp-list cat-all">
|
<div class="bp-list cat-all">
|
||||||
<?php foreach ($posts as $post): ?>
|
<?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(); ?>">
|
<a class="bp-block <?php $categories = get_the_category(); foreach($categories as $category):?><?= $category->slug; ?> <?php endforeach;?>" href="<?=get_permalink(); ?>">
|
||||||
@@ -24,6 +24,9 @@ get_header();
|
|||||||
</a>
|
</a>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="bp-btns">
|
||||||
|
<a href="/blog" class="button secondary">Browse all blog articles</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user