adding secondary legal pages
This commit is contained in:
parent
52553a3cee
commit
0794f0771f
32
footer.php
32
footer.php
|
|
@ -121,7 +121,7 @@
|
|||
|
||||
<?php do_action('tailpress_footer'); ?>
|
||||
|
||||
<div class=" website-credits">
|
||||
<div class="website-credits">
|
||||
© <?php echo date_i18n('Y'); ?> - <?php echo get_bloginfo('name'); ?>
|
||||
<p class="made-by">Made with
|
||||
<span>
|
||||
|
|
@ -133,6 +133,36 @@
|
|||
</span> by<a href="https://deligraph.com/" target="_blank"> Deligraph</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<ul class="legal-credits">
|
||||
<?php
|
||||
$localizedCookiePage = apply_filters('wpml_object_id', 3502, 'page', TRUE);
|
||||
$localizedConditionsGenerales = apply_filters('wpml_object_id', 3504, 'page', TRUE);
|
||||
$localizedPolitiqueConfidentialite = apply_filters('wpml_object_id', 3, 'page', TRUE);
|
||||
$localizedDeclarationAccessibilite = apply_filters('wpml_object_id', 3506, 'page', TRUE);
|
||||
|
||||
?>
|
||||
|
||||
<li class="legal-credits__legal-page-link">
|
||||
<a href="<?php echo get_the_permalink($localizedConditionsGenerales) ?>"><?php echo get_the_title($localizedConditionsGenerales) ?></a>
|
||||
</li>
|
||||
<li class="legal-credits__legal-page-link">
|
||||
<a href="<?php echo get_the_permalink($localizedCookiePage) ?>"><?php echo get_the_title($localizedCookiePage) ?></a>
|
||||
</li>
|
||||
<li class="legal-credits__legal-page-link">
|
||||
<a href="<?php echo get_the_permalink($localizedPolitiqueConfidentialite) ?>"><?php echo get_the_title($localizedPolitiqueConfidentialite) ?></a>
|
||||
</li>
|
||||
<li class="legal-credits__legal-page-link">
|
||||
<a href="<?php echo get_the_permalink($localizedDeclarationAccessibilite) ?>"><?php echo get_the_title($localizedDeclarationAccessibilite) ?></a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
<div class="footer-credits">
|
||||
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -48,25 +48,40 @@
|
|||
&__metiers-patrimoine {
|
||||
@apply col-span-4 md:col-span-2;
|
||||
}
|
||||
.website-credits {
|
||||
@apply text-center col-span-4;
|
||||
}
|
||||
.seventeen {
|
||||
}
|
||||
|
||||
.made-by {
|
||||
@apply flex justify-center items-center text-neutral-600 font-semibold text-xs pt-2;
|
||||
svg {
|
||||
@apply w-3 h-3 mx-1 fill-secondary;
|
||||
animation: fade-in-out 2.5s linear infinite;
|
||||
}
|
||||
a {
|
||||
@apply underline pl-1;
|
||||
}
|
||||
@keyframes fade-in-out {
|
||||
50% {
|
||||
opacity: 0;
|
||||
.website-credits {
|
||||
@apply col-span-2 text-left font-semibold;
|
||||
.made-by {
|
||||
@apply w-fit flex justify-center items-center text-neutral-600 font-semibold text-xs pt-1;
|
||||
svg {
|
||||
@apply w-3 h-3 mx-1 fill-secondary;
|
||||
animation: fade-in-out 2.5s linear infinite;
|
||||
}
|
||||
a {
|
||||
@apply underline pl-1;
|
||||
}
|
||||
@keyframes fade-in-out {
|
||||
50% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.legal-credits {
|
||||
@apply text-center col-span-2 lg:flex gap-3 items-end;
|
||||
&__legal-page-link {
|
||||
@apply font-bold relative block;
|
||||
}
|
||||
}
|
||||
.legal-credits__legal-page-link + .legal-credits__legal-page-link {
|
||||
&:before {
|
||||
@apply mr-3 h-4 bg-neutral-900;
|
||||
transform: translateY(3px);
|
||||
display: inline-block;
|
||||
content: '';
|
||||
width: 2px;
|
||||
content: '';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user