El Cid Campeador

Historia de Rodrigo Diaz de Vivar, el Cid Campeador vista desde un admirador de tan destacable figura de la historia de ESPAÑA

Nombre:

18.12.05

Blog del Cid Campeador, desde su nacimiento a su muerte



Pulse aquípara ver la historia del Cid Campeador en GoogleMaps.

Puntos de interes

Etiquetas: , , , , , , ,

0 Comments:

Publicar un comentario

Links to this post:

Crear un enlace

<< Home

> user-configurable variables */ $default_blog_desc = ''; // default description (setting overrides blog tagline) $post_desc_length = 20; // description length in # words for post/Page $post_use_excerpt = 1; // 0 (zero) to force content as description for post/Page $custom_desc_key = 'description'; // custom field key; if used, overrides excerpt/content /* << user-configurable variables */ global $cat, $cache_categories, $wp_query, $wp_version; if(is_single() || is_page()) { $post = $wp_query->post; $post_custom = get_post_custom($post->ID); $custom_desc_value = $post_custom["$custom_desc_key"][0]; if($custom_desc_value) { $text = $custom_desc_value; } elseif($post_use_excerpt && !empty($post->post_excerpt)) { $text = $post->post_excerpt; } else { $text = $post->post_content; } $text = str_replace(array("\r\n", "\r", "\n", " "), " ", $text); $text = str_replace(array("\""), "", $text); $text = trim(strip_tags($text)); $text = explode(' ', $text); if(count($text) > $post_desc_length) { $l = $post_desc_length; $ellipsis = '...'; } else { $l = count($text); $ellipsis = ''; } $description = ''; for ($i=0; $i<$l; $i++) $description .= $text[$i] . ' '; $description .= $ellipsis; } elseif(is_category()) { $category = $wp_query->get_queried_object(); $description = trim(strip_tags($category->category_description)); } else { $description = (empty($default_blog_desc)) ? trim(strip_tags(get_bloginfo('description'))) : $default_blog_desc; } if($description) { echo "\n"; } } add_action('wp_head', 'head_meta_desc'); ?>