👁 查看:sidebar-home.php
路径:/virtual/bigbrother/public_html/fx-genesis.com/wp-content/themes/welcart_basic/sidebar-home.php
大小:2.36 KB · 修改:2021-11-20 15:50:14 · 权限:0644 · 可写
<?php
/**
 * @package Welcart
 * @subpackage Welcart_Basic
 */

global $usces; ?>

<aside id="secondary" class="widget-area" role="complementary">

    <div class="columnleft">
    <?php if ( ! dynamic_sidebar( 'left-widget-area' ) ){

		//Default Welcart Login Widget
		$args = array(
			'before_widget' => '<section id="welcart_login-3" class="widget widget_welcart_login">',
			'after_widget' => '</section>',
			'before_title' => '<h3 class="widget_title">',
			'after_title' => '</h3>',
		);
		$Welcart_login =array(
			'title' => __('Log-in','usces'),
			'icon' => 1,
		);
		the_widget( 'Welcart_login', $Welcart_login, $args );	


		//Default Welcart Category Widget
		$args = array(
			'before_widget' => '<section id="welcart_category-3" class="widget widget_welcart_category">',
			'after_widget' => '</section>',
			'before_title' => '<h3 class="widget_title">',
			'after_title' => '</h3>',
		);
		$Welcart_category =array(
			'title' => __('Item Category','usces'),
			'icon' => 1,
			'cat_slug' => 'itemgenre'
		);
		the_widget( 'Welcart_category', $Welcart_category, $args );	

		
	} ?>
    </div>
    
    <div class="columncenter">
    <?php if ( ! dynamic_sidebar( 'center-widget-area' ) ){

		//Default Welcart Recommend Widget
		$args = array(
			'before_widget' => '<section id="welcart_featured-3" class="widget widget_welcart_featured">',
			'after_widget' => '</section>',
			'before_title' => '<h3 class="widget_title">',
			'after_title' => '</h3>',
		);
		global $wp_filter;
		if( array_key_exists('usces_filter_featured_widget', $wp_filter) ){
			$num = 5;
		}else{
			$num = 2;
		}
		$Welcart_featured =array(
			'title' => __('Items recommended','usces'),
			'icon' => 1,
			'num' => $num
		);
		the_widget( 'Welcart_featured', $Welcart_featured, $args );	

		
	} ?>
	</div>
	
	<div class="columnright">
		<?php if ( ! dynamic_sidebar( 'right-widget-area' ) ): ?>
			<?php
				//Default Welcart Calendar Widget
				$args = array(
				'before_widget' => '<section id="welcart_calendar-3" class="widget widget_welcart_calendar">',
				'after_widget' => '</section>',
				'before_title' => '<h3 class="widget_title">',
				'after_title' => '</h3>',
				);
				$Welcart_calendar =array(
				'title' => __('Business Calendar','usces'),
				'icon' => 1,
				);
				the_widget( 'Welcart_calendar', $Welcart_calendar, $args );
				
			?>
		<?php endif; ?>
	</div>

</aside><!-- #secondary -->
ページが見つかりませんでした – Lumiere Shop
ここを指しているリンクに誤りがあったようです。検索してみるのはいかがですか ?
お買い物カゴ