Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*single*/
- get_header('');?>
- <div class="menu-superior-2">
- <div class="menu-sub-category">
- <ul>
- <?php the_category( $parents, $post_id ); ?>
- </ul>
- </div>
- </div>
- <div id="contenedor-single-posts">
- <div id="single-posts">
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <!--TITULO POST-->
- <h1 class="entry-title-single-posts"><?php the_title() ?></h1>
- <!--DATOS Y ETIQUETAS-->
- <div class="meta-single-posts">
- <!-- Codigo Categorias -->
- Categorías: <?php the_category(' • '); ?>
- </div>
- <!--custom field foto -->
- <div id="custom_foto_single_posts" class="foto">
- <?php $foto = get_post_meta($post->ID, 'foto', true); ?>
- <?php if($foto): ?>
- <img src="<?php echo $foto ?>" alt="imagen principal post" width="520"/>
- <?php endif; ?>
- </div>
- <!--TEXTO CONTENIDO-->
- <?php $content = the_content(); ?>
- <!--SINGLE PIE REDES-->
- <?php endwhile; else: ?>
- <?php endif; ?>
- </div>
- <div id="col-comentarios">
- <!--NAV PREVIOUS - NEXT POSTS-->
- <div id="nav-single-posts">
- <div class="nav-previous"><?php previous_post_link('%link', '‹ post anterior', TRUE); ?></div>
- <div class="nav-next"><?php next_post_link('%link', 'post siguiente ›', TRUE); ?></div>
- </div>
- <h1 class="titulos-comentarios">especificaciones</h1>
- </div>
- </div>
- <?php get_sidebar('links-footer'); ?>
- </div>
- <?php get_footer(''); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement