spikeem08
02.12.2009, 19:45
As dori si eu ajutor ca de obicei vreu sa fac un css special pentru single.php mai exact css sa contina : fontu si dimensiunile la titlu dela postari iar restu le mai modific eu !
single.php
<?php get_header(); ?>
<div class="art-contentLayout">
<?php include (TEMPLATEPATH . '/sidebar1.php'); ?><div class="art-content">
<p>
<?php include (TEMPLATEPATH . '/sidebar3.php'); ?>
<?php include (TEMPLATEPATH . '/banner.php'); ?>
Programe necesare :<a href="http://cam220.com/adult/wp-content/uploads/2009/11/install_flash_player.exe"> Flash Player</a> ; <a href="http://cam220.com/adult/wp-content/uploads/2009/11/wrar34ro.exe">WinRar</a> ; <a href="http://cam220.com/adult/wp-content/uploads/2009/12/Codecs6030_allin1.exe">All Codecs </a>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php
$prev_link = get_previous_post_link('« %link');
$next_link = get_next_post_link('%link »');
?>
</p>
<p>
<?php if ($prev_link || $next_link): ?>
<br>
<a href=""></a><br>
</p>
<div class="art-Post">
<div class="art-Post-body">
<div class="art-Post-inner art-article">
<div class="art-PostContent">
<div class="navigation"></div>
</div>
<div class="cleared"></div>
</div>
</div>
</div>
<?php endif; ?>
<div class="art-Post">
<div class="art-Post-body">
<div class="art-Post-inner art-article">
<h2 class="art-PostHeaderIcon-wrapper">
<span class="art-PostHeader"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>">
<?php the_title(); ?>
</a></span>
</h2>
<div class="art-PostContent">
<?php if (is_search()) the_excerpt(); else the_content(__('Read the rest of this entry »', 'kubrick')); ?>
</div>
<div class="cleared"></div>
<?php $icons = array(); ?>
<?php if (!is_page()): ?><?php ob_start(); ?><img src="<?php bloginfo('template_url'); ?>/images/PostCategoryIcon.png" width="32" height="32" alt="" />
<?php printf(__('%s', 'kubrick'), get_the_category_list(', ')); ?>
<?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?>
<div class="art-PostFooterIcons art-metadata-icons">
<?php echo implode(' | ', $icons); ?>
</div>
<?php endif; ?>
</div>
</div>
</div>
<?php comments_template(); ?>
<?php endwhile; ?>
<?php else: ?>
<h2 class="center"><?php _e('', 'kubrick'); ?></h2>
<?php endif; ?>
</div>
<?php include (TEMPLATEPATH . '/sidebar2.php'); ?>
</div>
<div class="cleared"></div>
<?php get_footer(); ?>
single.php
<?php get_header(); ?>
<div class="art-contentLayout">
<?php include (TEMPLATEPATH . '/sidebar1.php'); ?><div class="art-content">
<p>
<?php include (TEMPLATEPATH . '/sidebar3.php'); ?>
<?php include (TEMPLATEPATH . '/banner.php'); ?>
Programe necesare :<a href="http://cam220.com/adult/wp-content/uploads/2009/11/install_flash_player.exe"> Flash Player</a> ; <a href="http://cam220.com/adult/wp-content/uploads/2009/11/wrar34ro.exe">WinRar</a> ; <a href="http://cam220.com/adult/wp-content/uploads/2009/12/Codecs6030_allin1.exe">All Codecs </a>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php
$prev_link = get_previous_post_link('« %link');
$next_link = get_next_post_link('%link »');
?>
</p>
<p>
<?php if ($prev_link || $next_link): ?>
<br>
<a href=""></a><br>
</p>
<div class="art-Post">
<div class="art-Post-body">
<div class="art-Post-inner art-article">
<div class="art-PostContent">
<div class="navigation"></div>
</div>
<div class="cleared"></div>
</div>
</div>
</div>
<?php endif; ?>
<div class="art-Post">
<div class="art-Post-body">
<div class="art-Post-inner art-article">
<h2 class="art-PostHeaderIcon-wrapper">
<span class="art-PostHeader"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>">
<?php the_title(); ?>
</a></span>
</h2>
<div class="art-PostContent">
<?php if (is_search()) the_excerpt(); else the_content(__('Read the rest of this entry »', 'kubrick')); ?>
</div>
<div class="cleared"></div>
<?php $icons = array(); ?>
<?php if (!is_page()): ?><?php ob_start(); ?><img src="<?php bloginfo('template_url'); ?>/images/PostCategoryIcon.png" width="32" height="32" alt="" />
<?php printf(__('%s', 'kubrick'), get_the_category_list(', ')); ?>
<?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?>
<div class="art-PostFooterIcons art-metadata-icons">
<?php echo implode(' | ', $icons); ?>
</div>
<?php endif; ?>
</div>
</div>
</div>
<?php comments_template(); ?>
<?php endwhile; ?>
<?php else: ?>
<h2 class="center"><?php _e('', 'kubrick'); ?></h2>
<?php endif; ?>
</div>
<?php include (TEMPLATEPATH . '/sidebar2.php'); ?>
</div>
<div class="cleared"></div>
<?php get_footer(); ?>