Making WordPress.org


Ignore:
Timestamp:
04/27/2020 12:19:44 AM (5 years ago)
Author:
dd32
Message:

Developer: Include the 'category'/Group of the icons in the glyph preview.

This allows for users to know which group of icons a search result belongs to.

See #5172.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-dashicons.php

    r9441 r9776  
    88 */
    99
    10 wp_enqueue_style(  'dashicons-page', get_template_directory_uri() . '/stylesheets/page-dashicons.css', array(), '20150217' );
    11 wp_enqueue_script( 'dashicons-page', get_template_directory_uri() . '/js/page-dashicons.js', array( 'jquery', 'wp-util' ), '20150217' );
     10wp_enqueue_style(  'dashicons-page', get_template_directory_uri() . '/stylesheets/page-dashicons.css', array(), '20200427' );
     11wp_enqueue_script( 'dashicons-page', get_template_directory_uri() . '/js/page-dashicons.js', array( 'jquery', 'wp-util' ), '20200427' );
    1212
    1313get_header(); ?>
     
    463463            <div class="dashicons {{data.cssClass}}"></div>
    464464            <div class="info">
     465                <span><strong>{{data.sectionName}}</strong></span>
    465466                <span class="name"><code>{{data.cssClass}}</code></span>
    466467                <span class="link"><a href='javascript:dashicons.copy( "content: \"\\{{data.attr}}\";", "css" )'><?php _e( 'Copy CSS', 'wporg' ); ?></a></span>
Note: See TracChangeset for help on using the changeset viewer.