コード例 #1
0
ファイル: functions.php プロジェクト: nhodin/Jerome
function frank_tweet_post_attribution()
{
    return frank_get_option('tweet_post_attribution');
}
コード例 #2
0
	</div>
	<div class="feature-desc">
		<?php 
_e('This feature allows you to write or copy and paste your own code straight into the header. Many people use this feature to include their Google Analytics code, or other small bits of Javascript. Feel free to use this as you wish!', 'frank_theme');
?>

	</div>
	<div style="clear:both;"></div>
</div>


<!-- CUSTOM FOOTER CODE -->
<div class="option-container">
	<label class="feature-title"><?php 
_e('Custom Footer Code', 'frank_theme');
?>
</label>
	<div class="feature">
		<textarea name="frank-general-footer" class="textarea"><?php 
echo esc_html(stripslashes(frank_get_option('footer')));
?>
</textarea>
	</div>
	<div class="feature-desc">
	<?php 
_e('This feature allows you to write or copy and paste your own code directly to the footer. A lot of people use this feature to include external and internal Javascript files, for plugins and things of the sort. Use it as you wish!', 'frank_theme');
?>

	</div>
	<div style="clear:both;"></div>
</div>
コード例 #3
0
						<div class="feature-desc">
							<?php 
_e('The version URL parameter can prevent files from caching in certain browsers. If you want more reliable caching of your scripts, turn this feature on.', 'frank_theme');
?>
						</div>
						<div style="clear:both;"></div>
					</div>
					<!-- REMOVE SCRIPT VERSION -->
					<div class="option-container">
						<div class="feature">
							<input type="checkbox"
									 name="frank-performance-remove-style-version"
									 class="checkbox"
									 value="remove_style_version" 
									<?php 
checked(frank_get_option('remove_style_version'));
?>
								/>

							<label for="frank-performance-remove-style-version">
								<?php 
_e('Remove version URL parameter from stylesheets.', 'frank_theme');
?>
							</label>
						</div>
						<div class="feature-desc">
							<?php 
_e('The version URL parameter can prevent files from caching in certain browsers. If you want more reliable caching of your stylesheets, turn this feature on.', 'frank_theme');
?>
						</div>
						<div style="clear:both;"></div>
コード例 #4
0
ファイル: functions.php プロジェクト: abbaselmas/Frank
function frank_header()
{
    echo stripslashes(frank_get_option('header'));
}
コード例 #5
0
		</label>
	</div>
	<div class="feature-desc">
		<?php 
_e('This feature gives you the option to integrate a little bit of social networking directly into your posts. By turning this feature on, we\'ll automatically create a "Tweet" Button people can use to share your content!', 'frank_theme');
?>
	</div>
	<div style="clear:both;"></div>
</div>
<!-- TWEET THIS HANDLE -->
<div class="option-container optional-container" controlling-checkbox="frank-general-tweet-post-button">
	<label class="feature-title"><?php 
_e('Twitter Handle', 'frank_theme');
?>
</label>
	<div class="feature">
		<input type="text"
				 name="frank-general-tweet-post-attribution"
				 class="text"
				 value="<?php 
echo esc_attr(stripslashes(frank_get_option('tweet_post_attribution')));
?>
" />
	</div>
	<div class="feature-desc">
		<?php 
_e('By entering your handle once right here, you can easily reference this setting throughout the theme and change it later with ease, if needed. Refrain from using the \'@\' sign. An example handle: \'somerandomdude\'.', 'frank_theme');
?>
	</div>
	<div style="clear:both;"></div>
</div>