Compare commits
5 Commits
f8cdb53e1e
...
c742526b81
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c742526b81 | ||
|
|
1cf2038ceb | ||
|
|
760077f8d5 | ||
|
|
403052e96c | ||
|
|
249f00eb33 |
|
|
@ -10,6 +10,10 @@ Chaque parution propose un dossier thématique nourri de contributions plurielle
|
|||
'cover' => array(
|
||||
'url' => get_stylesheet_directory_uri() . '/resources/img/covers/carhop-articles-page-cover.svg',
|
||||
'alt' => 'Revues'
|
||||
),
|
||||
'cta' => array(
|
||||
'title' => __('Consulter les prochaines publications', 'dynamiques'),
|
||||
'url' => get_home_url() . '/prochaines-publications/',
|
||||
)
|
||||
)); ?>
|
||||
|
||||
|
|
|
|||
|
|
@ -10,10 +10,15 @@ Chaque parution propose un dossier thématique nourri de contributions plurielle
|
|||
'cover' => array(
|
||||
'url' => get_stylesheet_directory_uri() . '/resources/img/covers/carhop-revues-page-cover.svg',
|
||||
'alt' => 'Revues'
|
||||
),
|
||||
'cta' => array(
|
||||
'title' => __('Voir les publications à venir', 'dynamiques'),
|
||||
'url' => get_home_url() . '/prochaines-publications/',
|
||||
)
|
||||
)); ?>
|
||||
|
||||
|
||||
|
||||
<?php get_template_part('template-parts/revues/revues-grid'); ?>
|
||||
|
||||
<!-- #### EXPLORE TAGS #### -->
|
||||
|
|
|
|||
|
|
@ -53,5 +53,5 @@
|
|||
<?php do_action('tailpress_content_start'); ?>
|
||||
|
||||
|
||||
<main id="content" class="site-content flex-grow">
|
||||
<?php get_template_part('template-parts/utils/scroll-top'); ?>
|
||||
<main id="content" class="site-content flex-grow">
|
||||
|
|
@ -4,6 +4,7 @@ $title = $args['title'];
|
|||
$subtitle = $args['subtitle'];
|
||||
$description = $args['description'];
|
||||
$cover = $args['cover'];
|
||||
$cta = $args['cta'];
|
||||
?>
|
||||
|
||||
<section class="page-header content-section content-section--full-width">
|
||||
|
|
@ -16,6 +17,9 @@ $cover = $args['cover'];
|
|||
<?php if ($description) : ?>
|
||||
<p class="page-header__description"><?php echo $description; ?></p>
|
||||
<?php endif; ?>
|
||||
<?php if ($cta) : ?>
|
||||
<a href="<?php echo $cta['url']; ?>" class="page-header__cta"><?php echo $cta['title']; ?></a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<div class="page-header__image">
|
||||
|
|
|
|||
|
|
@ -6,7 +6,9 @@
|
|||
"wideSize": "1280px"
|
||||
},
|
||||
"spacing": {
|
||||
"blockGap": true
|
||||
"blockGap": true,
|
||||
"margin": true,
|
||||
"padding": true
|
||||
},
|
||||
"color": {
|
||||
"defaultPalette": false,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user