Sección "Noticias" repasada
git-svn-id: https://192.168.0.254/svn/Proyectos.FundacionLQDVI_Web/trunk@42 77ab8c26-3d69-2c4d-86f2-786f4ba54905
This commit is contained in:
parent
6008ef492e
commit
f56a10b68a
@ -140,14 +140,26 @@ if (have_posts()) : while (have_posts()) : the_post();
|
|||||||
$image_thumb = wp_get_attachment_image_src($image_id, 'large', true);
|
$image_thumb = wp_get_attachment_image_src($image_id, 'large', true);
|
||||||
|
|
||||||
|
|
||||||
$pp_blog_image_width = 570;
|
$pp_blog_image_width = 150;
|
||||||
$pp_blog_image_height = 260;
|
$pp_blog_image_height = 150;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<!-- Begin each blog post -->
|
<!-- Begin each blog post -->
|
||||||
<div class="post_wrapper">
|
<div class="post_wrapper">
|
||||||
|
<?php
|
||||||
|
if(!empty($image_thumb))
|
||||||
|
{
|
||||||
|
?>
|
||||||
|
<div class="post_img img_shadow_536" style="width:<?php echo $pp_blog_image_width+10; ?>px;height:<?php echo $pp_blog_image_height+30; ?>px">
|
||||||
|
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
|
||||||
|
<img src="<?php echo get_bloginfo( 'stylesheet_directory' ); ?>/timthumb.php?src=<?php echo $image_thumb[0]; ?>&h=<?php echo $pp_blog_image_height; ?>&w=<?php echo $pp_blog_image_width; ?>&zc=1" alt="" class="frame"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
<div class="post_header">
|
<div class="post_header">
|
||||||
<h3>
|
<h3>
|
||||||
@ -169,9 +181,7 @@ if (have_posts()) : while (have_posts()) : the_post();
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br class="clear"/><br/>
|
<p><?php echo get_the_content_with_formatting(); ?></p>
|
||||||
|
|
||||||
<?php echo get_the_content_with_formatting(); ?>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- End each blog post -->
|
<!-- End each blog post -->
|
||||||
|
|||||||
@ -184,17 +184,28 @@ if (have_posts()) : while (have_posts()) : the_post();
|
|||||||
{
|
{
|
||||||
$image_id = get_post_thumbnail_id(get_the_ID());
|
$image_id = get_post_thumbnail_id(get_the_ID());
|
||||||
$image_thumb = wp_get_attachment_image_src($image_id, 'large', true);
|
$image_thumb = wp_get_attachment_image_src($image_id, 'large', true);
|
||||||
|
$pp_blog_image_width = 150;
|
||||||
|
$pp_blog_image_height = 150;
|
||||||
$pp_blog_image_width = 570;
|
|
||||||
$pp_blog_image_height = 260;
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<!-- Begin each blog post -->
|
<!-- Begin each blog post -->
|
||||||
<div class="post_wrapper">
|
<div class="post_wrapper">
|
||||||
|
<?php
|
||||||
|
if(!empty($image_thumb))
|
||||||
|
{
|
||||||
|
?>
|
||||||
|
<div class="post_img img_shadow_536" style="width:<?php echo $pp_blog_image_width+10; ?>px;height:<?php echo $pp_blog_image_height+30; ?>px">
|
||||||
|
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
|
||||||
|
<img src="<?php echo get_bloginfo( 'stylesheet_directory' ); ?>/timthumb.php?src=<?php echo $image_thumb[0]; ?>&h=<?php echo $pp_blog_image_height; ?>&w=<?php echo $pp_blog_image_width; ?>&zc=1" alt="" class="frame"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
<div class="post_header">
|
<div class="post_header">
|
||||||
<h3 class="cufon">
|
<h3 class="cufon">
|
||||||
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
|
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
|
||||||
@ -213,26 +224,7 @@ if (have_posts()) : while (have_posts()) : the_post();
|
|||||||
< ? php comments_number(__('No comment'), __('Comment'), __('% Comments')); ? >*/ ?>
|
< ? php comments_number(__('No comment'), __('Comment'), __('% Comments')); ? >*/ ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<p><?php echo get_the_content_with_formatting(); ?></p>
|
||||||
<?php
|
|
||||||
if(!empty($image_thumb))
|
|
||||||
{
|
|
||||||
?>
|
|
||||||
<br class="clear"/><br/>
|
|
||||||
|
|
||||||
<div class="post_img img_shadow_536" style="width:<?php echo $pp_blog_image_width+10; ?>px;height:<?php echo $pp_blog_image_height+30; ?>px">
|
|
||||||
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
|
|
||||||
<img src="<?php echo get_bloginfo( 'stylesheet_directory' ); ?>/timthumb.php?src=<?php echo $image_thumb[0]; ?>&h=<?php echo $pp_blog_image_height; ?>&w=<?php echo $pp_blog_image_width; ?>&zc=1" alt="" class="frame"/>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
|
|
||||||
<br class="clear"/><br/><br/>
|
|
||||||
|
|
||||||
<?php echo get_the_content_with_formatting(); ?>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- End each blog post -->
|
<!-- End each blog post -->
|
||||||
|
|||||||
@ -115,18 +115,30 @@ if (have_posts()) : while (have_posts()) : the_post();
|
|||||||
{
|
{
|
||||||
$image_id = get_post_thumbnail_id(get_the_ID());
|
$image_id = get_post_thumbnail_id(get_the_ID());
|
||||||
$image_thumb = wp_get_attachment_image_src($image_id, 'large', true);
|
$image_thumb = wp_get_attachment_image_src($image_id, 'large', true);
|
||||||
|
$pp_blog_image_width = 150;
|
||||||
|
$pp_blog_image_height = 150;
|
||||||
$pp_blog_image_width = 570;
|
|
||||||
$pp_blog_image_height = 260;
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<!-- Begin each blog post -->
|
<!-- Begin each blog post -->
|
||||||
<div class="post_wrapper">
|
<div class="post_wrapper">
|
||||||
|
<?php
|
||||||
|
if(!empty($image_thumb))
|
||||||
|
{
|
||||||
|
?>
|
||||||
|
<div class="post_img img_shadow_536" style="width:<?php echo $pp_blog_image_width+10; ?>px;height:<?php echo $pp_blog_image_height+30; ?>px">
|
||||||
|
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
|
||||||
|
<img src="<?php echo get_bloginfo( 'stylesheet_directory' ); ?>/timthumb.php?src=<?php echo $image_thumb[0]; ?>&h=<?php echo $pp_blog_image_height; ?>&w=<?php echo $pp_blog_image_width; ?>&zc=1" alt="" class="frame"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
<div class="post_header">
|
<div class="post_header">
|
||||||
<h3>
|
<h3 class="cufon">
|
||||||
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
|
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
|
||||||
<?php the_title(); ?>
|
<?php the_title(); ?>
|
||||||
</a>
|
</a>
|
||||||
@ -146,10 +158,7 @@ if (have_posts()) : while (have_posts()) : the_post();
|
|||||||
*/ ?>
|
*/ ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<p><?php echo get_the_content_with_formatting(); ?></p>
|
||||||
<br class="clear"/><br/>
|
|
||||||
|
|
||||||
<?php echo get_the_content_with_formatting(); ?>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- End each blog post -->
|
<!-- End each blog post -->
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user