Using br/ in postfooter icons?


Author Message
habbor

Posted: 9/22/2009
Quote message 

Hi everyone...

I want to use post footer images in my template. I added postview, share and etc. other objects.

Now i want tou use these box with two line. After post, i want tou show these objects;

line1----- time, comment, tag
line2 ----- view, share etc..

i want tou use br/ code but it didn't worked. How can i sort these objects in two lines.

 
habbor

Posted: 9/22/2009
Quote message 

i want to give my single page codes so you can think easily..

<?php get_header(); ?> <div class="contentLayout"> <div class="content">  <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="Post">     <div class="Post-tl"></div>     <div class="Post-tr"><div></div></div>     <div class="Post-bl"><div></div></div>     <div class="Post-br"><div></div></div>     <div class="Post-tc"><div></div></div>     <div class="Post-bc"><div></div></div>     <div class="Post-cl"><div></div></div>     <div class="Post-cr"><div></div></div>     <div class="Post-cc"></div>     <div class="Post-body"> <div class="Post-inner article"> <h2 class="PostHeaderIcon-wrapper"> <span class="PostHeader"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('%s', 'kubrick'), the_title_attribute('echo=0')); ?>"> <?php the_title(); ?> </a></span> </h2> <div class="PostContent"> <?php if (is_search()) the_excerpt(); else the_content(__('Read the rest of this entry &raquo;', 'kubrick')); ?>  </div> <div class="cleared"></div> <?php ob_start(); ?> <?php $icons = array(); ?> <?php if (!is_page()) : ?> <?php ob_start(); ?> <img src="<?php bloginfo('template_url'); ?>/images/PostDateIcon.png" width="17" height="18" alt="PostDateIcon" /> <?php the_time(__('j F Y H:i', 'kubrick')) ?> <?php $icons[] = ob_get_clean(); ?> <?php endif; ?> <?php if (!is_page()) : ?> <?php ob_start(); ?> <img src="<?php bloginfo('template_url'); ?>/images/PostAuthorIcon.png" width="14" height="14" alt="PostAuthorIcon" /> <?php _e('', 'kubrick'); ?> <a href="#" title="<?php _e('Yazarın Tüm Yazıları İçin Tıklayın', 'kubrick'); ?>"><?php the_author() ?></a> <?php $icons[] = ob_get_clean(); ?> <?php endif; ?> <?php if (!is_page() && !is_single()) : ?><?php ob_start(); ?> <img src="<?php bloginfo('template_url'); ?>/images/PostCommentsIcon.png" width="18" height="18" alt="PostCommentsIcon" /> <?php comments_popup_link(__('Yorum Yaz &#187;', 'kubrick'), __('1 Yorum Var &#187;', 'kubrick'), __('% Yorum Var &#187;', 'kubrick'), '', __('Comments Closed', 'kubrick') ); ?> <?php $icons[] = ob_get_clean(); ?><?php endif; ?> <?php if (!is_page()) : ?> <?php ob_start(); ?> <img src="<?php bloginfo('template_url'); ?>/images/PostCategoryIcon.png" width="18" height="18" alt="PostCategoryIcon" /> <?php printf(__('%s', 'kubrick'), get_the_category_list(', ')); ?> <?php $icons[] = ob_get_clean(); ?> <?php endif; ?> <?php if (!is_page()) : ?> <?php ob_start(); ?> <img src="<?php bloginfo('template_url'); ?>/images/PostViewIcon.png" width="18" height="18" alt="" /> <?php _e('Okunma:', 'kubrick'); ?> <?php if(function_exists('the_views')) { the_views(); } ?> <?php $icons[] = ob_get_clean(); ?> <?php endif; ?> <?php if (!is_page()) : ?> <?php ob_start(); ?> <?php _e('', 'kubrick'); ?> <?php if (function_exists('sharethis_button')) { sharethis_button(); } ?> <?php $icons[] = ob_get_clean(); ?> <?php endif; ?> <?php if (current_user_can( 'edit_post', $post->ID )) : ?><?php ob_start(); ?> <img src="<?php bloginfo('template_url'); ?>/images/PostEditIcon.png" width="14" height="14" alt="PostEditIcon" /> <?php edit_post_link(__('Düzenle', 'kubrick'), ''); ?> <?php $icons[] = ob_get_clean(); ?><?php endif; ?> <?php if (0 != count($icons)): ?> <div class="PostFooterIcons metadata-icons"> <?php echo implode(' | ', $icons); ?>  </div> <?php endif; ?> <?php $metadataContent = ob_get_clean(); ?> <?php if (trim($metadataContent) != ''): ?> <div class="PostMetadataFooter"> <?php echo $metadataContent; ?>  </div> <?php endif; ?>  </div>      </div> </div>  <?php comments_template(); ?> <?php endwhile; ?> <?php else: ?> <p><?php _e('Sorry, no posts matched your criteria.', 'kubrick'); ?></p> <?php endif; ?>  </div> <div class="sidebar1"> <?php include (TEMPLATEPATH . '/sidebar1.php'); ?> </div>  </div> <div class="cleared"></div>  <?php get_footer(); ?>

 
habbor

Posted: 9/22/2009
Quote message 

<?php get_header(); ?>
<div class="contentLayout">
<div class="content">

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="Post">
<div class="Post-tl"></div>
<div class="Post-tr"><div></div></div>
<div class="Post-bl"><div></div></div>
<div class="Post-br"><div></div></div>
<div class="Post-tc"><div></div></div>
<div class="Post-bc"><div></div></div>
<div class="Post-cl"><div></div></div>
<div class="Post-cr"><div></div></div>
<div class="Post-cc"></div>
<div class="Post-body">
<div class="Post-inner article">
<h2 class="PostHeaderIcon-wrapper">
<span class="PostHeader"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('%s', 'kubrick'), the_title_attribute('echo=0')); ?>">
<?php the_title(); ?>
</a></span>
</h2>
<div class="PostContent">
<?php if (is_search()) the_excerpt(); else the_content(__('Read the rest of this entry &raquo;', 'kubrick')); ?>

</div>
<div class="cleared"></div>
<?php ob_start(); ?>
<?php $icons = array(); ?>
<?php if (!is_page()) : ?>
<?php ob_start(); ?>
<img src="<?php bloginfo('template_url'); ?>/images/PostDateIcon.png" width="17" height="18" alt="PostDateIcon" />
<?php the_time(__('j F Y H:i', 'kubrick')) ?>
<?php $icons[] = ob_get_clean(); ?>
<?php endif; ?>
<?php if (!is_page()) : ?>
<?php ob_start(); ?>
<img src="<?php bloginfo('template_url'); ?>/images/PostAuthorIcon.png" width="14" height="14" alt="PostAuthorIcon" />
<?php _e('', 'kubrick'); ?> <a href="#" title="<?php _e('Yazarın Tüm Yazıları İçin Tıklayın', 'kubrick'); ?>"><?php the_author() ?></a>
<?php $icons[] = ob_get_clean(); ?>
<?php endif; ?>
<?php if (!is_page() && !is_single()) : ?><?php ob_start(); ?>
<img src="<?php bloginfo('template_url'); ?>/images/PostCommentsIcon.png" width="18" height="18" alt="PostCommentsIcon" />
<?php comments_popup_link(__('Yorum Yaz &#187;', 'kubrick'), __('1 Yorum Var &#187;', 'kubrick'), __('% Yorum Var &#187;', 'kubrick'), '', __('Comments Closed', 'kubrick') ); ?>
<?php $icons[] = ob_get_clean(); ?><?php endif; ?>
<?php if (!is_page()) : ?>
<?php ob_start(); ?>
<img src="<?php bloginfo('template_url'); ?>/images/PostCategoryIcon.png" width="18" height="18" alt="PostCategoryIcon" />
<?php printf(__('%s', 'kubrick'), get_the_category_list(', ')); ?>
<?php $icons[] = ob_get_clean(); ?>
<?php endif; ?>
<?php if (!is_page()) : ?>
<?php ob_start(); ?>
<img src="<?php bloginfo('template_url'); ?>/images/PostViewIcon.png" width="18" height="18" alt="" />
<?php _e('Okunma:', 'kubrick'); ?> <?php if(function_exists('the_views')) { the_views(); } ?>
<?php $icons[] = ob_get_clean(); ?>
<?php endif; ?>
<?php if (!is_page()) : ?>
<?php ob_start(); ?>
<?php _e('', 'kubrick'); ?> <?php if (function_exists('sharethis_button')) { sharethis_button(); } ?>
<?php $icons[] = ob_get_clean(); ?>
<?php endif; ?>
<?php if (current_user_can( 'edit_post', $post->ID )) : ?><?php ob_start(); ?>
<img src="<?php bloginfo('template_url'); ?>/images/PostEditIcon.png" width="14" height="14" alt="PostEditIcon" />
<?php edit_post_link(__('Düzenle', 'kubrick'), ''); ?>
<?php $icons[] = ob_get_clean(); ?><?php endif; ?>
<?php if (0 != count($icons)): ?>
<div class="PostFooterIcons metadata-icons">
<?php echo implode(' | ', $icons); ?>

</div>
<?php endif; ?>
<?php $metadataContent = ob_get_clean(); ?>
<?php if (trim($metadataContent) != ''): ?>
<div class="PostMetadataFooter">
<?php echo $metadataContent; ?>

</div>
<?php endif; ?>

</div>

</div>
</div>

<?php comments_template(); ?>
<?php endwhile; ?>
<?php else: ?>
<p><?php _e('Sorry, no posts matched your criteria.', 'kubrick'); ?></p>
<?php endif; ?>

</div>
<div class="sidebar1">
<?php include (TEMPLATEPATH . '/sidebar1.php'); ?>
</div>

</div>
<div class="cleared"></div>

<?php get_footer(); ?>
 
habbor

Posted: 9/22/2009
Quote message 

now i did with paint. the first one is now in my page, and the other one is i want to do..

pls help...
 
habbor

Posted: 9/22/2009
Quote message 

sorry, i forgot the link;

http://img121.imageshack.us/img121/6042/65803358.jpg
 
habbor

Posted: 9/22/2009
Quote message