function weddings_entry_cont()
{
    //for update general_settings
    global $weddings_general_settings_page;
    foreach ($weddings_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">
			<a href="<?php 
    the_permalink();
    ?>
" title="<?php 
    the_title_attribute();
    ?>
" rel="bookmark">
			<?php 
    if ($grab_image) {
        echo weddings_display_thumbnail(150, 150);
    } else {
        weddings_thumbnail(150, 150);
    }
    ?>
			</a>
	        <?php 
    if ($blog_style) {
        the_excerpt();
    } else {
        the_content(__('More', 'weddings'));
    }
    ?>

		</div>
        <div class="entry-meta">
			<?php 
    if ($date_enable) {
        weddings_posted_on();
    }
    weddings_entry_meta();
    ?>
		</div><?php 
}
Esempio n. 2
0
        if (isset($web_business_meta['single_post_text'])) {
            echo $web_business_meta['single_post_text'];
        }
        ?>
 </i>
					</div>
				</div>
				<?php 
        the_content();
        ?>
				<div class="entry-meta">
					<?php 
        if ($date_enable) {
            weddings_posted_on();
        }
        weddings_entry_meta();
        ?>
				</div>
			</div>
			<?php 
        wp_link_pages(array('before' => '<div class="page-links"><span class="page-links-title">' . __('Page', 'weddings') . '</span>', 'after' => '</div>', 'link_before' => '<span class="page-links-number">', 'link_after' => '</span>'));
        weddings_post_nav();
        ?>
		</div>
			<?php 
        if (is_active_sidebar('secondary-widget-area')) {
            ?>
				<div id="sidebar2" class="widget-area">
					<div class="sidebar-container">
						<?php 
            dynamic_sidebar('secondary-widget-area');