Making WordPress.org


Ignore:
Timestamp:
07/02/2018 12:47:04 PM (8 years ago)
Author:
netweb
Message:

Support Hub: Update Support Hub to latest changes via GitHub

References:

Props clorith, kenshino, netweb.
See #3485.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/support-helphub/inc/helphub-front-page-blocks/includes/widget-front-end.php

    r7306 r7354  
    1313<div class="info-box">
    1414        <div class="icon-wrapper">
     15                <a href="<?php echo esc_url( get_category_link( $instance['categoryid'] ) ); ?>">
    1516                <?php if ( stristr( $instance['icon'], '.' ) ) : ?>
    1617                        <img src="<?php echo esc_url( $instance['icon'] ); ?>" width="108" alt="">
    1718                <?php else : ?>
    18                         <span class="dashicons
    19                         <?php echo esc_attr( $instance['icon'] ); ?>
    20                         "></span>
     19                        <span class="dashicons <?php echo esc_attr( $instance['icon'] ); ?>"></span>
    2120                <?php endif; ?>
     21                </a>
    2222        </div>
    23         <h3><?php echo esc_html( $instance['title'] ); ?></h3>
     23        <a href="<?php echo esc_url( get_category_link( $instance['categoryid'] ) ); ?>">
     24                <h3><?php echo esc_html( $instance['title'] ); ?></h3>
     25        </a>
    2426        <p><?php echo esc_html( $instance['description'] ); ?></p>
    25 
    2627        <ul class="meta-list">
    2728                <?php
     
    3637                ?>
    3738        </ul>
    38 
    3939</div>
    40 
    4140
    4241<?php
Note: See TracChangeset for help on using the changeset viewer.