Making WordPress.org


Ignore:
Timestamp:
11/22/2022 08:22:48 PM (17 months ago)
Author:
coffee2code
Message:

Plugin Directory: Differentiate the "support" link from other tabs.

Fixes #6589.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin-single.php

    r10214 r12266  
    5757    <span id="developers"></span>
    5858    <span id="advanced" class="<?php if ( get_query_var( 'plugin_advanced' ) ) { echo 'displayed'; } ?>"></span>
    59     <ul class="tabs clear">
     59    <span id="section-links">
     60        <ul class="tabs clear">
    6061        <li id="tablink-description"><a href="<?php the_permalink(); ?>#description"><?php esc_html_e( 'Details', 'wporg-plugins' ); ?></a></li>
    6162        <li id="tablink-reviews"><a href="<?php the_permalink(); ?>#reviews"><?php esc_html_e( 'Reviews', 'wporg-plugins' ); ?></a></li>
     
    6566            </li>
    6667        <?php endif; ?>
    67         <li id="tablink-support">
    68             <a href="<?php echo esc_url( Template::get_support_url() ); ?>"><?php esc_html_e( 'Support', 'wporg-plugins' ); ?></a>
    69         </li>
    7068        <li id="tablink-developers"><a href="<?php the_permalink(); ?>#developers"><?php esc_html_e( 'Development', 'wporg-plugins' ); ?></a></li>
    7169        <?php if ( get_query_var( 'plugin_advanced' ) ) : ?>
    7270            <li id="tablink-advanced"><a href="<?php the_permalink(); ?>advanced/"><?php esc_html_e( 'Advanced View', 'wporg-plugins' ); ?></a></li>
    7371        <?php endif; ?>
    74     </ul>
     72        </ul>
     73        <div id="link-support">
     74            <a href="<?php echo esc_url( Template::get_support_url() ); ?>"><?php esc_html_e( 'Support', 'wporg-plugins' ); ?></a>
     75        </div>
     76    </span>
    7577    <script type="text/javascript">if ( '#changelog' == window.location.hash ) { window.setTimeout( function() { window.location.hash = '#developers'; }, 10 ); }</script>
    7678
Note: See TracChangeset for help on using the changeset viewer.