Foros del Web » Creando para Internet » Sistemas de gestión de contenidos » WordPress »

Ayuda themes wordpress

Estas en el tema de Ayuda themes wordpress en el foro de WordPress en Foros del Web. Hola tengo el siguiente tema "expose" para wordpress funciona todo bien, pero en la pagina principal no se ve la imagen alguien puede ayudarme con ...
  #1 (permalink)  
Antiguo 13/09/2010, 11:32
 
Fecha de Ingreso: noviembre-2004
Ubicación: NULL
Mensajes: 652
Antigüedad: 19 años, 5 meses
Puntos: 6
Ayuda themes wordpress

Hola tengo el siguiente tema "expose" para wordpress funciona todo bien, pero en la pagina principal no se ve la imagen alguien puede ayudarme con eso que es lo que falta.


Código PHP:



<?php get_header(); 

    
// this outputs the headline on your mainpage within an h2 tag
    
if($k_option['general']['headline'] != '')
    {
        echo 
'<div id="feature_info">';
        echo 
'<h2>'.$k_option['general']['headline'].'</h2>';
        echo 
'</div>';    
    }
    
    
    
//start the loop that generates the entries
    
$loopcount 0;
    
$additional_loop = new WP_Query("paged=$paged&cat=".$k_option['gallery']['gallery_cat_final']."&posts_per_page=".$k_option['gallery']['post_count']);
    
    
    echo 
'<div id="main">';
    echo 
'<div class="content the_gallery">';
    
    if (
$additional_loop->have_posts()) :
    while (
$additional_loop->have_posts()) : $additional_loop->the_post();
    
    
//here starts the code generated for each gallery entry:
    
if ($loopcount === 0) echo  '<div class="entry">';
    
$loopcount ++;
    
$last $loopcount === 'last''';
    
    
$postlink get_permalink();                                     //internal post link
    
$external get_post_meta($post->ID"_external"true);     //external link from customfield
    
$featured get_post_meta($post->ID"_prev_featured"true);     //check if post gets a featured badge
        
    //set link for postimage depending on the backend option settings
    
$imagelink $k_option['gallery']['image_link'] == 'permalink' $postlink $external;
    
    
    
//set link for posttitle depending on the backend option settings
    
$titlelink $k_option['gallery']['name_link'] == 'permalink' $postlink $external;
    
    
//get the images for the gallery entry, small and big size at a time
    
$small_prev_image kriesi_post_thumb($post->ID, array('size'=> array('M','_preview_medium'),
                                                     
'wh' => $k_option['custom']['imgSize']['M'],
                                                     
'img_attr' => array('class'=>'item_small')    
                                                    ));
                                                    
                                                    
    
$big_prev_image kriesi_post_thumb($post->ID, array('size'=> array('L'),
                                                     
'wh' => $k_option['custom']['imgSize']['L'],
                                                     
'img_attr' => array('class'=>'item_big no_preload')    
                                                    ));
    
    
    
//output the entry with all the parameters gathered above
    
echo "<div class='gallery_entry gallery_entry_$loopcount $last'>";
    echo 
"<div class='gallery_inner'>";
    echo 
"<a class='preloading gallery_image' href='".$imagelink."'>";
    if(
$featured == 'yes') echo "<span class='featured_entry'></span>";
    echo 
$small_prev_image;
    echo 
$big_prev_image;
    echo 
"</a>";
    echo 
"<span class='comment_link'>";
    
comments_popup_link(__('0','expose'), __('1','expose'), __('%','expose'));
    echo 
"</span>";
    if(
function_exists('the_ratings')) the_ratings();        
    echo 
"<div class='gallery_excerpt'>";
    echo 
get_the_excerpt();
    echo 
"</div>";
    echo 
"</div>";
    echo 
"<h3><a href='".$titlelink."'>".get_the_title()."</a></h3>";
    echo 
"</div>";
    
    
    if(
$loopcount == 3)
    {
        
$loopcount 0;
        echo  
'</div>';
    }
    endwhile;
    if(
$loopcount !== 0) echo'</div>';
    endif;
    
        
    
kriesi_pagination($additional_loop->max_num_pages);
    
#end content
    
echo '</div>';

    
$k_option['showSidebar'] = 'frontpage';
    
get_sidebar();
    
    
get_footer();
?>
  #2 (permalink)  
Antiguo 13/09/2010, 13:43
Avatar de GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 17 años, 11 meses
Puntos: 2135
Tema movido desde PHP a Wordpress
  #3 (permalink)  
Antiguo 13/09/2010, 17:53
 
Fecha de Ingreso: abril-2003
Mensajes: 1.129
Antigüedad: 21 años
Puntos: 34
Respuesta: Ayuda themes wordpress

¿A qué imagen te refieres? ¿Es posible algún link donde podamos ver el desperfecto?

Revisa sino el Foro del Theme http://www.kriesi.at/support/forum/expose
__________________
elGastronomo
  #4 (permalink)  
Antiguo 10/11/2010, 18:07
 
Fecha de Ingreso: noviembre-2004
Ubicación: NULL
Mensajes: 652
Antigüedad: 19 años, 5 meses
Puntos: 6
Respuesta: Ayuda themes wordpress

Cita:
Iniciado por GatorV Ver Mensaje
Tema movido desde PHP a Wordpress
ya lo solucione gracias. es mas creo lo elimine

Etiquetas: themes
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 22:18.