modules/widgets/top-posts.php 1 location
|
@@ 45-47 (lines=3) @@
|
| 42 |
|
|
| 43 |
|
$this->default_title = __( 'Top Posts & Pages', 'jetpack' ); |
| 44 |
|
|
| 45 |
|
if ( is_active_widget( false, false, $this->id_base ) || is_customize_preview() ) { |
| 46 |
|
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_style' ) ); |
| 47 |
|
} |
| 48 |
|
|
| 49 |
|
/** |
| 50 |
|
* Add explanation about how the statistics are calculated. |
modules/widgets/social-media-icons.php 1 location
|
@@ 54-56 (lines=3) @@
|
| 51 |
|
'flickr' => array( 'Flickr', 'https://www.flickr.com/photos/%s/' ), |
| 52 |
|
); |
| 53 |
|
|
| 54 |
|
if ( is_active_widget( false, false, $this->id_base ) || is_customize_preview() ) { |
| 55 |
|
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_style' ) ); |
| 56 |
|
} |
| 57 |
|
} |
| 58 |
|
|
| 59 |
|
public function enqueue_style() { |
modules/widgets/my-community.php 1 location
|
@@ 43-45 (lines=3) @@
|
| 40 |
|
) |
| 41 |
|
); |
| 42 |
|
|
| 43 |
|
if ( is_active_widget( false, false, $this->id_base ) || is_active_widget( false, false, 'monster' ) ) { |
| 44 |
|
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_style' ) ); |
| 45 |
|
} |
| 46 |
|
|
| 47 |
|
$this->default_title = esc_html__( 'Community', 'jetpack' ); |
| 48 |
|
} |