示例#1
0
		<fieldset>
			<?php 
    ci_panel_upload_image('touch_favicon', __('Upload your touch icon (57x57px, non-Retina iPhone, iPod Touch, Android 2.1+)', 'ci_theme'));
    ?>
			<?php 
    ci_panel_checkbox('touch_favicon_pre', 'enabled', __('Precomposed', 'ci_theme'));
    ?>
		</fieldset>

		<fieldset>
			<?php 
    ci_panel_upload_image('touch_favicon_72', __('Upload your touch icon (72x72px, 1st generation iPad)', 'ci_theme'));
    ?>
			<?php 
    ci_panel_checkbox('touch_favicon_72_pre', 'enabled', __('Precomposed', 'ci_theme'));
    ?>
		</fieldset>

		<fieldset>
			<?php 
    ci_panel_upload_image('touch_favicon_114', __('Upload your touch icon (114x114px, iPhone 4+, Retina display)', 'ci_theme'));
    ?>
			<?php 
    ci_panel_checkbox('touch_favicon_114_pre', 'enabled', __('Precomposed', 'ci_theme'));
    ?>
		</fieldset>

	</fieldset>
<?php 
}
示例#2
0
                ?>
<link rel="shortcut icon" type="image/x-icon" href="<?php 
                echo esc_attr(ci_setting('favicon'));
                ?>
" /><?php 
            }
        }
    }
} else {
    ?>

	<fieldset id="ci-panel-favicon" class="set">
		<legend><?php 
    _e('Favicon', 'ci_theme');
    ?>
</legend>
		<p class="guide"><?php 
    _e('As of WordPress v4.3, the Customizer (<em>Appearance &rarr; Customize</em>) provides support for a <strong>Site Icon</strong>. You are strongly adviced to use the Site Icon feature instead of the options below, as they will be removed in theme updates released after WordPress v4.4 is out.', 'ci_theme');
    ?>
</p>
		<p class="guide"><?php 
    echo sprintf(__('Here you can upload your favicon. The favicon is a small, 16x16 icon that appears besides your URL in the address bar, in open tabs and/or in bookmarks. We recommend you create your favicon from an existing square image, using appropriate online services such as <a href="%1$s">Dynamic Drive</a> and <a href="%2$s">favicon.cc</a>', 'ci_theme'), 'http://tools.dynamicdrive.com/favicon/', 'http://www.favicon.cc/');
    ?>
</p>
		<?php 
    ci_panel_upload_image('favicon', __('Upload your favicon', 'ci_theme'));
    ?>
	</fieldset>

<?php 
}
示例#3
0
	<?php 
    load_panel_snippet('color_scheme');
    ?>

	<fieldset class="set">
		<legend><?php 
    _e('Header Display', 'ci_theme');
    ?>
</legend>
		<p class="guide"><?php 
    _e('Upload or select an image to be used as the default header background on your header. This will be displayed in all your inner pages except from the frontpage template. For best results, use a high resolution image, at least 1920x160 pixels in size.', 'ci_theme');
    ?>
</p>
		<?php 
    ci_panel_upload_image('default_header_bg', __('Upload an image:', 'ci_theme'));
    ?>
		<input type="hidden" class="uploaded-id" name="<?php 
    echo THEME_OPTIONS;
    ?>
[default_header_bg_hidden]" value="<?php 
    echo esc_attr($ci['default_header_bg_hidden']);
    ?>
"/>
	</fieldset>

	<fieldset class="set">
		<legend><?php 
    _e('Surrounding border', 'ci_theme');
    ?>
</legend>
示例#4
0
        ?>
</p>
					<fieldset>
						<?php 
        ci_panel_checkbox('bg_f_image_disable', 'enabled', __("Disable footer's background image", 'ci_theme'));
        ?>
					</fieldset>
				</fieldset>
			
				<fieldset class="set">
					<p class="guide"><?php 
        _e("You can upload/select an image to use as custom footer's background for your site. Make sure to select the appropriate size, once you select your image. You can also choose whether you want the image to repeat.", 'ci_theme');
        ?>
</p>
					<?php 
        ci_panel_upload_image('bg_f_image', __("Upload your footer's background image", 'ci_theme'));
        ?>
					<fieldset>
						<?php 
        $options = array('no-repeat' => __('No Repeat', 'ci_theme'), 'repeat' => __('Repeat', 'ci_theme'), 'repeat-x' => __('Repeat X', 'ci_theme'), 'repeat-y' => __('Repeat Y', 'ci_theme'));
        ci_panel_dropdown('bg_f_image_repeat', $options, __("Repeat footer's background image", 'ci_theme'));
        ?>
					</fieldset>
				</fieldset>
			
				<fieldset class="set">
					<p class="guide"><?php 
        _e("You can select the placement of your image in the footer's background.", 'ci_theme');
        ?>
</p>
					<fieldset>
			<?php 
        $options = array('' => __('Show tagline', 'ci_theme'), 'off' => __('Hide tagline', 'ci_theme'));
        ci_panel_dropdown('show_site_slogan', $options, __('Tagline near the logo:', 'ci_theme'));
        ?>
		<?php 
    }
    ?>
	</fieldset>

	<?php 
    if (apply_filters('ci_retina_logo', true)) {
        ?>
		<fieldset id="ci-panel-logo-hires" class="set">
			<legend><?php 
        _e('Hi-Res Logo', 'ci_theme');
        ?>
</legend>
				<p class="guide"><?php 
        _e('You can upload a higher resolution logo image, that will automatically be served to devices with retina (high resolution) displays. The image needs to be exactly twice the width and height of the image above, and have the same filename with a <strong>@2x</strong> appended at the end. For example, if the image above is named <strong>logo.png</strong> then you need to upload a file named <strong>logo@2x.png</strong><br />Please note that the two images need to be in the same folder. Because of that you should upload both images at the same time in order for the retina version to automatically be recognized.', 'ci_theme');
        ?>
</p>
				<?php 
        ci_panel_upload_image('logox2', __('Upload your hi-res logo', 'ci_theme'));
        ?>
		</fieldset>
	<?php 
    }
    ?>

<?php 
}