Themes y Diseño

Foro WordPress » WordPress » Themes y Diseño

Calendario (4 mensajes)

Acerca de este hilo

Tags

  1. miseroprospero

    3.0
    Antiguedad: Ene 2010
    Mensajes: 13

    offline

    Publicado hace 2 años
    #

    ¡Hola a todos!
    Sigo trtando de personalizar nuestro blog. Aque va la info:

    http://www.miseroprospero.org/blog/
    Atahualpa 3.4.3
    http://forum.bytesforall.com/
    WP 2.9

    Ahora me gustaría poner un icono de calendario al lado del título del post que marque el dia que se creó este. ¿Por dónde empiezo? ¿Hay templetes o algo así? ¿O hay que programarlo todo en el CSS? Bueno, no tengo ni idea. Si me echáis una mano os lo agradeceré.

    Saludos,

    Carlos

    "Tan sólo hay una pequeña diferencia entre realidad y ficción: la ficción tiene sentido"
  2. bananajota

    3.0
    Antiguedad: Nov 2009
    Mensajes: 40

    offline

    Publicado hace 2 años
    #

    Mirá, en castellano tenés:
    http://xyberneticos.com/index.php/2007/05/17/agregar-icono-de-fecha-en-el-titulo-de-tus-post/

    y si sabés inglés, tal vez esto te sirva:
    http://www.euphorish.com/2007/web-20-date-icons-for-your-blog/ ACA hay unos lindos archivos para lo que querés, y su explicación.
    http://www.wpdesigner.com/2007/06/04/wordpress-date-button/

    Saludos!

  3. miseroprospero

    3.0
    Antiguedad: Ene 2010
    Mensajes: 13

    offline

    Publicado hace 2 años
    #

    ¡Gracias bananajota! Me lo miro.

    "Tan sólo hay una pequeña diferencia entre realidad y ficción: la ficción tiene sentido"
  4. miseroprospero

    3.0
    Antiguedad: Ene 2010
    Mensajes: 13

    offline

    Publicado hace 2 años
    #

    Bueno, todo va bien hasta que llego al útlimo paso. Debo incluir lo siguiente:

    <div class="the_date"><span class="date_m"></span> <span class="date_d"></span></div>

    en index.php, sobre la propiedad: <?php the_permalink(); ?>
    Pero esta propiedad no aparece en mi index.php. Entonces, ¿dónde debo insertarlo? ¿En otra hoja?

    Os pego cómo es mi index.php.

    <?php /* get all options: */
    include (TEMPLATEPATH . '/functions/bfa_get_options.php');
    get_header(); ?>

    <?php /* If there are any posts: */
    if (have_posts()) : $bfa_ata['postcount'] == 0; /* Postcount needed for option "XX first posts full posts, rest excerpts" */ ?>

    <?php /* This outputs the next/previous post or page navigation.
    This can be edited at Atahualpa Theme Options -> Style & edit the Center column */
    bfa_center_content($bfa_ata['content_above_loop']); ?>

    <?php /* The LOOP starts here. Do this for all posts: */
    while (have_posts()) : the_post(); $bfa_ata['postcount']++; ?>

    <?php /* Add Odd or Even post class so post containers can get alternating CSS style (optional) */
    $odd_or_even = (($bfa_ata['postcount'] % 2) ? 'odd-post' : 'even-post' ); ?>

    <?php /* This is the actual Wordpress LOOP.
    The output can be edited at Atahualpa Theme Options -> Style & edit the Center column */
    bfa_center_content($bfa_ata['content_inside_loop']); ?>

    <?php /* END of the LOOP */
    endwhile; ?>

    <?php /* This outputs the next/previous post or page navigation and the comment template.
    This can be edited at Atahualpa Theme Options -> Style & edit the Center column */
    bfa_center_content($bfa_ata['content_below_loop']); ?>

    <?php /* END of: If there are any posts */
    else : /* If there are no posts: */ ?>

    <?php /* This outputs the "Not Found" content, if neither posts, pages nor attachments are available for the requested page.
    This can be edited at Atahualpa Theme Options -> Style & edit the Center column */
    bfa_center_content($bfa_ata['content_not_found']); ?>

    <?php endif; /* END of: If there are no posts */ ?>

    <?php bfa_center_content($bfa_ata['center_content_bottom']); ?>

    <?php get_footer(); ?>

    ¡¡Gracias por echarle un vistazo!!

    Saludos

    "Tan sólo hay una pequeña diferencia entre realidad y ficción: la ficción tiene sentido"

Responder

Debes Identificarte para publicar.

Foro WordPress » WordPress » Themes y Diseño