removing uncessary target attribute
This commit is contained in:
parent
09a6dce3c3
commit
4a5e09ee8d
File diff suppressed because one or more lines are too long
|
|
@ -1,15 +1,13 @@
|
|||
<?php
|
||||
$relatedPostId = $attributes['relatedPostId'] ?? null;
|
||||
|
||||
$relatedPost = get_post($relatedPostId) ?? null;
|
||||
$relatedPostUrl = get_permalink($relatedPostId) ?? null;
|
||||
|
||||
$postIcon = get_field("step_icon", $relatedPostId) ?? null;
|
||||
|
||||
|
||||
|
||||
?>
|
||||
<a class="parcours-step-card" href="<?php echo $relatedPostUrl ?>" target="<?php echo $target ?>">
|
||||
<a class="parcours-step-card" href="<?php echo $relatedPostUrl ?>">
|
||||
<img class="parcours-step-card__icon" src="<?php echo $postIcon['url'] ?>" alt="">
|
||||
<h3 class="parcours-step-card__title"><?php echo $relatedPost->post_title; ?></h3>
|
||||
</a>
|
||||
|
|
@ -1,15 +1,13 @@
|
|||
<?php
|
||||
$relatedPostId = $attributes['relatedPostId'] ?? null;
|
||||
|
||||
$relatedPost = get_post($relatedPostId) ?? null;
|
||||
$relatedPostUrl = get_permalink($relatedPostId) ?? null;
|
||||
|
||||
$postIcon = get_field("step_icon", $relatedPostId) ?? null;
|
||||
|
||||
|
||||
|
||||
?>
|
||||
<a class="parcours-step-card" href="<?php echo $relatedPostUrl ?>" target="<?php echo $target ?>">
|
||||
<a class="parcours-step-card" href="<?php echo $relatedPostUrl ?>">
|
||||
<img class="parcours-step-card__icon" src="<?php echo $postIcon['url'] ?>" alt="">
|
||||
<h3 class="parcours-step-card__title"><?php echo $relatedPost->post_title; ?></h3>
|
||||
</a>
|
||||
Loading…
Reference in New Issue
Block a user