Arreglado problema con textos largos y con plugin de idiomas.
git-svn-id: https://192.168.0.254/svn/Proyectos.FundacionLQDVI_Web/trunk@32 77ab8c26-3d69-2c4d-86f2-786f4ba54905
This commit is contained in:
parent
ca4c580dcb
commit
3eeacb58bd
@ -178,8 +178,8 @@ if (isset($page_photo_arr) && !empty($page_photo_arr)) {
|
|||||||
|
|
||||||
$permalink_url = get_permalink($captura_item->ID);
|
$permalink_url = get_permalink($captura_item->ID);
|
||||||
|
|
||||||
$titulo = _($captura_item->post_title);
|
$titulo = strip_tags(strip_shortcodes($captura_item->post_title));
|
||||||
$texto = pp_substr(strip_tags(strip_shortcodes($captura_item->post_content)), 50);
|
$texto = strip_tags(strip_shortcodes($captura_item->post_content));
|
||||||
|
|
||||||
if ($texto != "") {
|
if ($texto != "") {
|
||||||
$texto = "
" . $texto;
|
$texto = "
" . $texto;
|
||||||
@ -199,7 +199,7 @@ if (isset($page_photo_arr) && !empty($page_photo_arr)) {
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="<?php echo $last_class ?> captura" style="height: <?php echo $pp_capturas_img_height;?>px; width: <?php echo $pp_capturas_img_width;?>px;">
|
<div class="<?php echo $last_class ?> captura" style="height: <?php echo $pp_capturas_img_height;?>px; width: <?php echo $pp_capturas_img_width;?>px;">
|
||||||
<img src="<?php echo $small_image_url; ?>" title="<?php echo $titulo.$texto; ?>" class="fade"/>
|
<img src="<?php echo $small_image_url; ?>" title="<?php echo $titulo.': '.$texto; ?>" class="fade"/>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user