Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
0xBeycan committed Sep 16, 2024
1 parent b7f0f43 commit 6119c6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/PluginHero/templates/plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<?php if (isset($plugins)) :
foreach ($plugins as $product) : ?>
<li>
<a href="<?php echo esc_url($product->permalink) ?>" target="_blank">
<img src="<?php echo $product->landingPage ? esc_url($product->landingPage) : esc_url($product->image); ?>" alt="<?php echo esc_attr($product->title) ?>">
<a href="<?php echo isset($product->landing_page) ? esc_url($product->landing_page) : esc_url($product->permalink); ?>" target="_blank">
<img src="<?php echo esc_url($product->image); ?>" alt="<?php echo esc_attr($product->title) ?>">
<span><?php echo esc_html($product->title) ?></span>
</a>
</li>
Expand Down

0 comments on commit 6119c6a

Please sign in to comment.