Imagens automaticas em thumbnails
-
Olá galera do wordpress to iniciando no wordpress e tenho este site
http://www.foxtube.com.br, ele tem uns auto post q vao so a img, so q para img aparecer eu tenho sempre que ir campos personalizado e adicionar a tag thumb, quero q essas imgs vao automaticamente alguem sabe?este é o codigo do auto post
<div class="video<?php if($i%4==0) : ?> video_last<?php endif; ?>" id="video-<?php the_ID(); ?>"> <h2><a>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php echo thman_get_limited_string($post->post_title,15); ?></a></h2> <div class="thumb"> <a>" title="<?php the_title_attribute(); ?>"><?php $thumb = thman_getcustomfield('thumb',get_the_ID()); if(!empty($thumb)) : ?> <img src="<?php echo $thumb; ?>" alt="<?php the_title_attribute(); ?>" /> <?php else : ?> <img src="<?php bloginfo('template_url'); ?>/images/pic_empty.gif" alt="<?php the_title_attribute(); ?>" /></a>
A visualizar 1 resposta (de um total de 1)
A visualizar 1 resposta (de um total de 1)
- O tópico ‘Imagens automaticas em thumbnails’ está fechado a novas respostas.