This commit is contained in:
Jerry
2022-12-14 11:16:01 +01:00
parent 8aa4ed2497
commit 414028676c
3 changed files with 6 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -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_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()){
// wp_enqueue_style('lawcarta-style-index', get_theme_file_uri('/assets/css/main-page.min.css'),['lawcarta-libs'], '101');

View File

@@ -12,7 +12,7 @@ get_header();
<div class="mp-blog">
<div class="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">
<?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(); ?>">
@@ -24,6 +24,9 @@ get_header();
</a>
<?php endforeach; ?>
</div>
<div class="bp-btns">
<a href="/blog" class="button secondary">Browse all blog articles</a>
</div>
</div>
</div>
</div>