cleaned up code, removed comments and pagin code
This commit is contained in:
parent
461de6aa9b
commit
cd3d4ac6b8
18
page.php
18
page.php
|
@ -5,10 +5,7 @@
|
|||
<?php wp_breadcrumb();?>
|
||||
<div id="pagina" class="shadow">
|
||||
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
|
||||
|
||||
<h2><?php the_title(); ?></h2>
|
||||
|
||||
|
||||
<!-- buscar el nom de l'artista i la data: metatgs -->
|
||||
<?php $tiporesid = get_post_meta($post->ID, 'autor_tipo_resid', true);
|
||||
if ($tiporesid) : ?>
|
||||
|
@ -18,7 +15,6 @@
|
|||
if ($dataresid) : ?>
|
||||
<p class="curt"><?php echo __($dataresid); ?> </p>
|
||||
<?php endif;?>
|
||||
|
||||
<?php $autorobra = get_post_meta($post->ID, 'autor_obra', true);
|
||||
if ($autorobra) : ?>
|
||||
<p class="blue curt"><?php echo $autorobra; ?> </p>
|
||||
|
@ -40,20 +36,10 @@
|
|||
<?php wp_link_pages( array( 'before' => '' . __( 'Pages:', 'hangar' ), 'after' => '' ) ); ?>
|
||||
<?php edit_post_link( __( 'Edit this page →', 'hangar' ), '', '' ); ?>
|
||||
|
||||
<?php // comments_template( '', true ); ?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
<!--<div id="navegacio" class="dins">
|
||||
<p class="previous"><?php previous_post_link( '%link', '' . _x( '← Previous Post', 'Previous post link', 'hangar' ) . '' ); ?></p>
|
||||
<p class="next"><?php next_post_link( '%link', __('') . _x( 'Next Post →', 'Next post link', 'hangar' ) . '' ); ?></p>
|
||||
</div>-->
|
||||
|
||||
</div>
|
||||
<!--end Page-->
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<!--end Content-->
|
||||
|
||||
|
@ -67,12 +53,8 @@
|
|||
hangar_show_extra_content();
|
||||
}
|
||||
?>
|
||||
|
||||
</div><!-- end indexall extra -->
|
||||
|
||||
|
||||
<?php //get_sidebar('secondary'); ?>
|
||||
|
||||
</div>
|
||||
<!--end Main-->
|
||||
|
||||
|
|
Loading…
Reference in New Issue