|
@@ 1349-1353 (lines=5) @@
|
| 1346 |
|
} |
| 1347 |
|
|
| 1348 |
|
$esc_number = esc_attr( $args['number'] ); |
| 1349 |
|
if ( $inputs['url'] ) : |
| 1350 |
|
?> |
| 1351 |
|
<p><label for="rss-url-<?php echo $esc_number; ?>"><?php _e( 'Enter the RSS feed URL here:' ); ?></label> |
| 1352 |
|
<input class="widefat" id="rss-url-<?php echo $esc_number; ?>" name="widget-rss[<?php echo $esc_number; ?>][url]" type="text" value="<?php echo esc_url( $args['url'] ); ?>" /></p> |
| 1353 |
|
<?php endif; if ( $inputs['title'] ) : ?> |
| 1354 |
|
<p><label for="rss-title-<?php echo $esc_number; ?>"><?php _e( 'Give the feed a title (optional):' ); ?></label> |
| 1355 |
|
<input class="widefat" id="rss-title-<?php echo $esc_number; ?>" name="widget-rss[<?php echo $esc_number; ?>][title]" type="text" value="<?php echo esc_attr( $args['title'] ); ?>" /></p> |
| 1356 |
|
<?php endif; if ( $inputs['items'] ) : ?> |
|
@@ 1365-1368 (lines=4) @@
|
| 1362 |
|
} |
| 1363 |
|
?> |
| 1364 |
|
</select></p> |
| 1365 |
|
<?php endif; if ( $inputs['show_summary'] ) : ?> |
| 1366 |
|
<p><input id="rss-show-summary-<?php echo $esc_number; ?>" name="widget-rss[<?php echo $esc_number; ?>][show_summary]" type="checkbox" value="1" <?php checked( $args['show_summary'] ); ?> /> |
| 1367 |
|
<label for="rss-show-summary-<?php echo $esc_number; ?>"><?php _e( 'Display item content?' ); ?></label></p> |
| 1368 |
|
<?php endif; if ( $inputs['show_author'] ) : ?> |
| 1369 |
|
<p><input id="rss-show-author-<?php echo $esc_number; ?>" name="widget-rss[<?php echo $esc_number; ?>][show_author]" type="checkbox" value="1" <?php checked( $args['show_author'] ); ?> /> |
| 1370 |
|
<label for="rss-show-author-<?php echo $esc_number; ?>"><?php _e( 'Display item author if available?' ); ?></label></p> |
| 1371 |
|
<?php endif; if ( $inputs['show_date'] ) : ?> |
|
@@ 1371-1375 (lines=5) @@
|
| 1368 |
|
<?php endif; if ( $inputs['show_author'] ) : ?> |
| 1369 |
|
<p><input id="rss-show-author-<?php echo $esc_number; ?>" name="widget-rss[<?php echo $esc_number; ?>][show_author]" type="checkbox" value="1" <?php checked( $args['show_author'] ); ?> /> |
| 1370 |
|
<label for="rss-show-author-<?php echo $esc_number; ?>"><?php _e( 'Display item author if available?' ); ?></label></p> |
| 1371 |
|
<?php endif; if ( $inputs['show_date'] ) : ?> |
| 1372 |
|
<p><input id="rss-show-date-<?php echo $esc_number; ?>" name="widget-rss[<?php echo $esc_number; ?>][show_date]" type="checkbox" value="1" <?php checked( $args['show_date'] ); ?>/> |
| 1373 |
|
<label for="rss-show-date-<?php echo $esc_number; ?>"><?php _e( 'Display item date?' ); ?></label></p> |
| 1374 |
|
<?php |
| 1375 |
|
endif; |
| 1376 |
|
foreach ( array_keys($default_inputs) as $input ) : |
| 1377 |
|
if ( 'hidden' === $inputs[$input] ) : |
| 1378 |
|
$id = str_replace( '_', '-', $input ); |