Esempio n. 1
0
				<label class="hidden" for="hs"><?php 
_e('Search', 'picochic');
?>
:</label>
				<div>
					<input type="text" value="<?php 
get_search_query();
?>
" name="s" id="hs" /><input type="submit" id="hsearchsubmit" value="<?php 
_e('Search', 'picochic');
?>
" /> 
				</div>
			</form>	
			<?php 
picochic_get_settings('logo');
?>
			<h1><a href="<?php 
echo home_url();
?>
"><?php 
bloginfo('name');
?>
</a></h1>
			<p class="description"><?php 
bloginfo('description');
?>
</p>
		</section>

		<?php 
Esempio n. 2
0
?>

	<div id="content">

	<?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>

			<?php 
        get_template_part('content');
        ?>

			<?php 
        if (picochic_get_settings('show_about_the_author')) {
            ?>
				<section id="author-box">
					<div id="author-gravatar"><?php 
            echo get_avatar(get_the_author_meta('user_email'), '40');
            ?>
</div>
					<div id="author-box-content">
						<h3 id="author-box-title"><?php 
            _e('About the author', 'picochic');
            ?>
: <?php 
            the_author_link();
            ?>
</h3>
						<p id="author-box-text"><?php 
Esempio n. 3
0
/** 
 * Remove Link To More-Tag
 */
function picochic_remove_more_jump_link($link)
{
    if (picochic_get_settings('link_to_read_more') != 1) {
        $offset = strpos($link, '#more-');
        if ($offset) {
            $end = strpos($link, '"', $offset);
        }
        if ($end) {
            $link = substr_replace($link, '', $offset, $end - $offset);
        }
    }
    return $link;
}