?>
		<?php 
    ci_panel_checkbox('eshop_single_show_up_sells', 'enabled', __('Show Up-Sells', 'ci_theme'));
    ?>
	</fieldset>

	<fieldset class="set">
		<p class="guide"><?php 
    _e('Select the default number of columns your products will appear in (affects all shop pages).', 'ci_theme');
    ?>
</p>
		<?php 
    ci_panel_radio('product_columns', '2', '2', __('2 Columns', 'ci_theme'));
    ?>
		<?php 
    ci_panel_radio('product_columns', '4', '3', __('3 Columns', 'ci_theme'));
    ?>
	</fieldset>

	<fieldset class="set">
		<p class="guide"><?php 
    _e('Set how many products per page should be displayed on product listing pages (e.g. shop page, category pages, etc). Use <strong>-1</strong> for no limit.', 'ci_theme');
    ?>
</p>
		<?php 
    ci_panel_input('eshop_posts_per_page', __('Products per page', 'ci_theme'));
    ?>

		<p class="guide"><?php 
    _e('Set additional numbers for viewing more products in product listing pages (e.g. shop page).', 'ci_theme');
    ?>
Exemple #2
0
    if ($seo_plugin === false) {
        _e('A known SEO plugin could not be detected.', 'ci_theme');
    } else {
        echo sprintf(__('The <b>%s</b> plugin was detected. Please use the <b>Automatic title</b> setting.', 'ci_theme'), $seo_plugin);
    }
    ?>
			</p>
			<fieldset>
				<label><?php 
    _e('Use the following on the &lt;title> tag', 'ci_theme');
    ?>
</label>
				<?php 
    ci_panel_radio('use_ci_head_title', 'use_auto_title', 'auto', __('Automatic title', 'ci_theme'));
    ci_panel_radio('use_ci_head_title', 'use_ci_title', 'enabled', __("Use the theme's default title", 'ci_theme'));
    ci_panel_radio('use_ci_head_title', 'use_wp_title', 'disabled', __("Use pure WordPress function ( wp_title('') )", 'ci_theme'));
    ?>
			</fieldset>

			<p class="guide mt20"><?php 
    _e('The title separator is inserted between various elements within the title tag of each page. Leading and trailing spaces are automatically inserted where appropriate. This only applies when the option "Use the theme\'s default title" above is selected.', 'ci_theme');
    ?>
</p>
			<fieldset>
				<?php 
    ci_panel_input('title_separator', __('Title separator', 'ci_theme'));
    ?>
			</fieldset>

		</div>
	</fieldset>
    ci_panel_radio('pagination_method', 'paginate_links', 'paginate_links', __('Numbered pagination.', 'ci_theme'));
    ?>
		<?php 
    ci_panel_radio('pagination_method', 'prevnext', 'prevnext', __('"Previous - Next" links.', 'ci_theme'));
    ?>
		
		<?php 
    if (function_exists('wp_pagenavi')) {
        ?>

			<?php 
        if (get_ci_theme_support('wp_pagenavi') == false) {
            ?>
				<p class="guide mt10"><?php 
            _e("The theme has detected that you have installed the <strong>WP-PageNavi</strong> plugin. Although the theme doesn't provide appropriate styles for it, you can still use it without editing any files, by selecting the option below. However, you might need to configure and/or style it on your own.", 'ci_theme');
            ?>
</p>
			<?php 
        }
        ?>

			<?php 
        ci_panel_radio('pagination_method', 'wp_pagenavi', 'wp_pagenavi', __('WP-PageNavi plugin.', 'ci_theme'));
        ?>
		<?php 
    }
    ?>
	</fieldset>

<?php 
}
    _e('Content Preview', 'ci_theme');
    ?>
</legend>

		<fieldset id="ci-panel-excerpt-preview-content">
			<p class="guide"><?php 
    _e('You can select whether you want the Content or the Excerpt to be displayed on listing pages.', 'ci_theme');
    ?>
</p>
			<label><?php 
    _e('Use the following on listing pages', 'ci_theme');
    ?>
</label>
			<?php 
    ci_panel_radio('preview_content', 'use_content', 'enabled', __('Use the Content', 'ci_theme'));
    ci_panel_radio('preview_content', 'use_excerpt', 'disabled', __('Use the Excerpt', 'ci_theme'));
    ?>
		</fieldset>

		<fieldset id="ci-panel-excerpt-read-more">
			<p class="guide mt10"><?php 
    _e('You can set what the Read More text will be. This applies to both the Content and the Excerpt.', 'ci_theme');
    ?>
</p>
			<?php 
    ci_panel_input('read_more_text', __('Read More text', 'ci_theme'));
    ?>
		</fieldset>

		<fieldset id="ci-panel-excerpt-excerpt-options">
			<p class="guide mt10"><?php 
        ci_panel_dropdown('bg_f_image_vertical', $options, __("Footer's Background Vertical Placement", 'ci_theme'));
        ?>
					</fieldset>
				</fieldset>

				<fieldset class="set">
					<p class="guide"><?php 
        echo sprintf(__('You can select the size of your image in the footer\'s background. For an explanation of the values, please read <a href="%s">this article</a>.', 'ci_theme'), 'http://www.css3.info/preview/background-size/');
        ?>
</p>
					<fieldset>
						<?php 
        ci_panel_radio('bg_f_image_size', 'bg_f_image_size_none', '', __('Default', 'ci_theme'));
        ci_panel_radio('bg_f_image_size', 'bg_f_image_size_cover', 'cover', __('Cover', 'ci_theme'));
        ci_panel_radio('bg_f_image_size', 'bg_f_image_size_contain', 'contain', __('Contain', 'ci_theme'));
        ci_panel_radio('bg_f_image_size', 'bg_f_image_size_custom', 'custom', __('Custom size (e.g. <em>200px 150px</em>)', 'ci_theme'));
        $fieldname = 'bg_f_image_size_value';
        ?>
<input type="text" id="<?php 
        echo esc_attr($fieldname);
        ?>
" name="<?php 
        echo esc_attr(THEME_OPTIONS . '[' . $fieldname . ']');
        ?>
" value="<?php 
        echo esc_attr($ci[$fieldname]);
        ?>
"><?php 
        $js = "\r\n\t\t\t\t\t\t\t\tif( \$('input[id^=\"bg_f_image_size_\"]:radio:checked').val() == 'custom' )\r\n\t\t\t\t\t\t\t\t\t\$('#" . $fieldname . "').show();\r\n\t\t\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\t\t\t\$('#" . $fieldname . "').hide();\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\$('body').on('change', 'input[id^=\"bg_f_image_size_\"]:radio', function(){\r\n\t\t\t\t\t\t\t\t\tif( \$(this).val() == 'custom' )\r\n\t\t\t\t\t\t\t\t\t\t\$('#" . $fieldname . "').slideDown();\r\n\t\t\t\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\t\t\t\t\$('#" . $fieldname . "').slideUp();\r\n\t\t\t\t\t\t\t\t}); ";
        ci_add_inline_js($js, $fieldname);
        ?>