Compare commits

...

2 Commits

Author SHA1 Message Date
Nonimart
c5a6d09dc7 FIX White links
All checks were successful
continuous-integration/drone/push Build is passing
2025-10-27 12:28:32 +01:00
Gilles Van Assche
def83bb0ef Fix url CTA in erfgoed 2025-10-23 14:35:04 +02:00
2 changed files with 8 additions and 0 deletions

View File

@ -41,6 +41,7 @@ body.akoestiek,
@apply text-acoustique-coproprietes; @apply text-acoustique-coproprietes;
} }
.homegrade-blocks-highlight--classic { .homegrade-blocks-highlight--classic {
a:not(.wp-block-button__link, .cta),
a[href^='#']:not(.wp-block-button__link), a[href^='#']:not(.wp-block-button__link),
a[target='_blank']:not(.wp-block-button__link), a[target='_blank']:not(.wp-block-button__link),
a[rel='noopener']:not(.wp-block-button__link) { a[rel='noopener']:not(.wp-block-button__link) {
@ -190,6 +191,7 @@ body.energie,
@apply text-energies-urbanisme; @apply text-energies-urbanisme;
} }
.homegrade-blocks-highlight--classic { .homegrade-blocks-highlight--classic {
a:not(.wp-block-button__link, .cta),
a[href^='#']:not(.wp-block-button__link), a[href^='#']:not(.wp-block-button__link),
a[target='_blank']:not(.wp-block-button__link), a[target='_blank']:not(.wp-block-button__link),
a[rel='noopener']:not(.wp-block-button__link) { a[rel='noopener']:not(.wp-block-button__link) {
@ -346,6 +348,7 @@ body.isolation,
@apply text-isolation-quotidien; @apply text-isolation-quotidien;
} }
.homegrade-blocks-highlight--classic { .homegrade-blocks-highlight--classic {
a:not(.wp-block-button__link, .cta),
a[href^='#']:not(.wp-block-button__link), a[href^='#']:not(.wp-block-button__link),
a[target='_blank']:not(.wp-block-button__link), a[target='_blank']:not(.wp-block-button__link),
a[rel='noopener']:not(.wp-block-button__link) { a[rel='noopener']:not(.wp-block-button__link) {
@ -499,6 +502,7 @@ body.gezondheid-en-veiligheid,
@apply text-patrimoine-sante-securite; @apply text-patrimoine-sante-securite;
} }
.homegrade-blocks-highlight--classic { .homegrade-blocks-highlight--classic {
a:not(.wp-block-button__link, .cta),
a[href^='#']:not(.wp-block-button__link), a[href^='#']:not(.wp-block-button__link),
a[target='_blank']:not(.wp-block-button__link), a[target='_blank']:not(.wp-block-button__link),
a[rel='noopener']:not(.wp-block-button__link) { a[rel='noopener']:not(.wp-block-button__link) {
@ -667,6 +671,7 @@ body.duurzaamheid,
@apply text-location-durabilite; @apply text-location-durabilite;
} }
.homegrade-blocks-highlight--classic { .homegrade-blocks-highlight--classic {
a:not(.wp-block-button__link, .cta),
a[href^='#']:not(.wp-block-button__link), a[href^='#']:not(.wp-block-button__link),
a[target='_blank']:not(.wp-block-button__link), a[target='_blank']:not(.wp-block-button__link),
a[rel='noopener']:not(.wp-block-button__link) { a[rel='noopener']:not(.wp-block-button__link) {

View File

@ -2,6 +2,9 @@
// get network site 2 home url // get network site 2 home url
$networkArtisan = get_blog_details(2); $networkArtisan = get_blog_details(2);
$networkArtisanHomeUrl = isset($networkArtisan->home) ? $networkArtisan->home : ''; $networkArtisanHomeUrl = isset($networkArtisan->home) ? $networkArtisan->home : '';
$current_lang = apply_filters('wpml_current_language', null);
// print_r($current_lang);
$current_lang === 'nl' ? $networkArtisanHomeUrl .= '/nl/' : '';
?> ?>
<a href="<?php echo $networkArtisanHomeUrl ?>" class="side-card"> <a href="<?php echo $networkArtisanHomeUrl ?>" class="side-card">