Ejemplo n.º 1
0
        if (has_post_thumbnail()) {
            ?>
						<div class="post-thumbnail-div post-thumbnail">
							  <?php 
            echo the_post_thumbnail(240, 182);
            ?>
						</div> 
					<?php 
        }
        the_content();
        ?>
				</div>
			</div>
			<?php 
        if ($date_enable) {
            wedding_style_entry_meta();
        }
        $wedding_style_integration_page->update_bottom_of_post_integration();
        wp_link_pages(array('before' => '<div class="page-links"><span class="page-links-title">' . __('Page', 'WeddingStyle') . '</span>', 'after' => '</div>', 'link_before' => '<span class="page-links-number">', 'link_after' => '</span>'));
        wedding_style_post_nav();
        ?>
			
			<div class="clear"></div>
			
			<?php 
        $wedding_style_integration_page->bottom_advertisment();
        global $post;
        $withcomments = true;
        if (comments_open()) {
            ?>
                   <div class="comments-template">
Ejemplo n.º 2
0
function wedding_style_entry_cont_for_search()
{
    //for update general_settings
    global $wedding_style_general_settings_page;
    foreach ($wedding_style_general_settings_page->options_generalsettings as $value) {
        if (get_theme_mod($value['var_name']) === FALSE) {
            ${$value}['var_name'] = $value['std'];
        } else {
            ${$value}['var_name'] = get_theme_mod($value['id']);
        }
    }
    ?>
	<div class="entry">
		<?php 
    if ($blog_style) {
        the_excerpt();
    } else {
        the_content(__('More', 'WeddingStyle'));
    }
    ?>
	</div>
	<?php 
    if ($date_enable) {
        wedding_style_entry_meta();
    }
}