Making WordPress.org


Ignore:
Timestamp:
04/05/2024 02:37:07 AM (22 months ago)
Author:
dufresnesteven
Message:

wporg-plugins-2024: Update plugin card to not user a tag as wrapper.

Related: #7553
Props: joedolson

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/build/blocks/plugin-card/render.php

    r13456 r13457  
    88do_blocks( '<!-- wp:wporg/link-wrapper /-->' ); // Import the styles
    99?>
    10 <a class="plugin-card wp-block-wporg-link-wrapper is-style-no-underline" href="<?php the_permalink(); ?>">
     10<div class="plugin-card wp-block-wporg-link-wrapper is-style-no-underline">
    1111    <div class="entry">
    1212        <div class="entry-thumbnail">
     
    1515
    1616        <header class="entry-header">
    17             <?php the_title( '<h3 class="entry-title">', '</h3>' ); ?>
     17            <h3 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
    1818        </header><!-- .entry-header -->
    1919
     
    4444        <?php endif; ?>
    4545    </footer>
    46 </a>
     46</div>
Note: See TracChangeset for help on using the changeset viewer.