Viewing 1 replies (of 1 total)
  • Thread Starter José

    (@guertzen)

    Here is my index.php

    <?php get_header()?>
    
    		<!-- Begin Main Content ( left col ) -->
    		<section id="main-content">
    		<?php if(is_month()) { ?>
    				<div id="archive-title">
    				Arquivo de <strong><?php the_time('F, Y') ?></strong>
    				</div>
    		<?php } ?>
    		<?php if(is_category()) { ?>
    				<div id="archive-title">
    				Categoria "<strong><?php $current_category = single_cat_title("", true); ?></strong>"
    				</div>
    		<?php } ?>
    		<?php if(is_tag()) { ?>
    				<div id="archive-title">
    				Tag "<strong><?php wp_title('',true,''); ?></strong>"
    				</div>
    		<?php } ?>
    		<?php if(is_author()) { ?>
    				<div id="archive-title">
    				Artigos por "<strong><?php wp_title('',true,''); ?></strong>"
    				</div>
    		<?php }?>
    		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    				<!-- Begin Article -->
    				<article class="post">
    					<header class="postHeader">
    					  <div class="date"><?php the_time('M j, Y') ?> - <span><img src="<?php bloginfo('template_directory'); ?>/images/ico_file.png" alt=""> <?php the_category(', ') ?> &nbsp;&nbsp;</span> </div>
    					  <h2><a href="<?php the_permalink() ?>" ><?php the_title(); ?></a></h2>
    					</header>
    					<section class="postText">
    					 <?php the_content('Read more &raquo;'); ?>
    					</section>
    				<div class="sidebadge"></div>
    				</article>
    				<!-- End Article -->
    			<?php endwhile; ?>
    	<?php else : ?>
    		<p>Desculpe, mas o que você está procurando n?o está por aqui.</p>
    	<?php endif; ?>
    		<?php if (function_exists("emm_paginate")) {
    				emm_paginate();
    			} ?>
    		</section>
    		<!-- End Main Content ( left col ) -->
    
    <?php get_sidebar();?>
    <?php get_footer();?>
Viewing 1 replies (of 1 total)
  • The topic ‘Help with Selectors’ is closed to new replies.