Commit c918e0bc authored by alain's avatar alain 🐙
Browse files

pinned content buttons

parent 2bd6b636
......@@ -61,6 +61,11 @@ a.btn, .btn, .text-link {
@include colourBg($bg-yellow, 0deg);
}
&--green {
background: $green;
@include colourBg($bg-yellow, 0deg);
}
&--loading {
background: $bg-yellow;
}
......
......@@ -12,8 +12,8 @@
$news_post = get_post($news);
include(locate_template('template-parts/elements/news-teaser.php'));
} ?>
<a href="<?php echo get_permalink(get_option('page_for_posts')); ?>" class="text-link"><?php _e('see all news', 'makeitopen'); ?></a>
</div>
<a href="<?php echo get_permalink(get_option('page_for_posts')); ?>" class="btn btn--red"><?php _e('see all news', 'makeitopen'); ?></a>
</div>
<div class="flex-grid">
......@@ -28,7 +28,7 @@
$event_post = get_post($event);
include(locate_template('template-parts/elements/events-teaser.php'));
} ?>
<a href="<?php echo get_post_type_archive_link('events'); ?>" class="text-link"><?php _e('go to full agenda', 'makeitopen'); ?></a>
<!-- <a href="<?php echo get_post_type_archive_link('events'); ?>" class="text-link"><?php _e('go to full agenda', 'makeitopen'); ?></a> -->
</div>
<?php } ?>
......@@ -42,7 +42,7 @@
$resource_filters = get_the_terms($resource_post, 'resource-types' );
include(locate_template('template-parts/elements/resource-teaser.php'));
} ?>
<a href="<?php echo get_post_type_archive_link('resources'); ?>" class="text-link"><?php _e('see all resources', 'makeitopen'); ?></a>
<a href="<?php echo get_post_type_archive_link('resources'); ?>" class="btn btn--green"><?php _e('see all resources', 'makeitopen'); ?></a>
</div>
</div>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment