芝麻web文件管理V1.00
编辑当前文件:/home/r5772835/public_html/ycreate.jp/wp-content/plugins/snow-monkey-blocks/src/blocks/rss/view.php
'', 'after_widget' => '', 'widget_id' => $widget_id, 'id' => null, ); // @see themes/snow-monkey/app/widget/snow-monkey-recent-rss/_widget.php $widget_number = explode( '-', $widget_args['widget_id'] ); if ( 1 < count( $widget_number ) ) { array_shift( $widget_number ); $widget_number = implode( '-', $widget_number ); } else { $widget_number = $widget_number[0]; } $instance = array( 'entries_id' => $widget_number, 'feed-url' => $attributes['feedURL'], 'title' => null, 'posts-per-page' => $attributes['postsPerPage'], 'layout' => $attributes['layout'], 'gap' => $attributes['gap'], 'force-sm-1col' => $force_sm_1col, 'item-title-tag' => $attributes['itemTitleTagName'], 'link-text' => null, 'link-url' => null, 'arrows' => $attributes['arrows'], 'dots' => $attributes['dots'], 'interval' => $attributes['interval'], 'autoplayButton' => $attributes['autoplayButton'], ); // phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable $args = array( '_context' => 'snow-monkey-blocks/rss', ); // phpcs:enable ob_start(); if ( file_exists( get_theme_file_path( $custom_template ) ) ) { include( get_theme_file_path( $custom_template ) ); } elseif ( file_exists( $default_template ) ) { include( $default_template ); } $widget = ob_get_clean(); if ( empty( $widget ) ) { $no_posts_text = $attributes['noPostsText']; $no_posts_text = apply_filters( 'snow_monkey_blocks_rss_no_posts_text', $no_posts_text, $widget_args, $instance ); if ( ! $no_posts_text ) { return; } } $classnames[] = 'smb-rss'; if ( ! empty( $attributes['className'] ) ) { $classnames[] = $attributes['className']; } $block_wrapper_attributes = get_block_wrapper_attributes( array( 'class' => implode( ' ', $classnames ), 'id' => $anchor, ) ); ?>
>