Luan Kosaka 0 Denunciar post Postado Outubro 14, 2010 Pessoal, instalei o Plugin Contact Form 7, no template que fiz não esta funcionando, aparentemente esta dando algum conflito com ultimo post. Alguém saberia o motivo? Logo a baixo esta o codigo. --------------------------------------------------- INDEX.HTML --------------------------------------------------- <?php get_header(); ?> <div class="miolo"> <div class="mural-interna"> <h1 class="tit-mural"><img src="<?php bloginfo('template_url'); ?>/images/tit-mural.gif" alt="" /> <?php if(!is_home()) : ?><a class="voltar" href="<?php echo get_option('home'); ?>/" title="Voltar"><span>Voltar</span></a><?php endif; ?></h1> <div class="mCols"> <div class="mCol1"> <?php if(is_home()){ $aRecentPosts = new WP_Query('showposts=1&cat=1'); }else{ $aRecentPosts = new WP_Query('showposts=1'); } ?> <?php while($aRecentPosts->have_posts()) : $aRecentPosts->the_post(); ?> <?php $categories = get_the_category($post->ID); $cat = $categories[0]->cat_ID;?> <h1><a href="<?php permalink_link(); ?>"><?php the_title(); ?></a></h1> <?php the_content(); ?> <p>Publicado por <?php the_author() ?> em <?php the_time('j/m/y') ?> às <?php the_time('G:i') ?></p> <p class="comentar"><?php comments_popup_link('Comente'); ?></p> <? include('addthis.html'); ?> <?php endwhile ?> </div> </div> </div> <?php get_sidebar(); ?> <div class="clear"></div> </div> </div> <?php get_footer(); ?> <!-- Chama o Footer --> --------------------------------------------------- SINGLE.HTML --------------------------------------------------- <?php get_header(); ?> <div class="miolo"> <div class="mural-interna"> <h1 class="tit-mural"><img src="<?php bloginfo('template_url'); ?>/images/tit-mural.gif" alt="Mural" /> <a class="voltar" href="<?php echo get_option('home'); ?>/" title="Voltar"><span>Voltar</span></a></h1> <div class="mCols"> <div class="mCol1"> <?php if (have_posts()) : while(have_posts()) : the_post(); ?> <?php $categories = get_the_category($post->ID); $cat = $categories[0]->cat_ID;?> <h1><?php the_title(); ?></h1> <?php the_content(); ?> <p>Publicado por <?php the_author() ?> em <?php the_time('j/m/y') ?> às <?php the_time('G:i') ?></p> <?php endwhile ?> <?php endif; ?> <hr color="#cccccc"> <div class="comment-area"> <?php comments_template(); ?> </div> <? include('addthis.html'); ?> </div> </div> </div> <div class="tema"> <h1 class="tit-tema"><img src="<?php bloginfo('template_url'); ?>/images/tit-tema.gif" alt="" /></h1> <form role="search" method="get" id="searchform" action="<?php bloginfo('url'); ?>"> <input type="text" value="" name="s" id="s" size="18" /> <input type="submit" id="searchsubmit" value="Buscar" /> </form> <div class="posts"> <ul> <?php $qry = new WP_Query('cat='.the_category_ID($echo).'&posts_per_page=4'); ?> <?php while ($qry->have_posts()) : $qry->the_post(); ?> <li> <a href="<?php the_permalink() ?>&cat=<?php echo(the_category_ID($echo)); ?>" title="<?php the_title(); ?>"> <?php the_title(); ?> </a> </li> <?php endwhile; ?> </ul> <br /> <div class="biblioteca"> <a href="?page_id=13"><img src="<?php bloginfo('template_url'); ?>/images/biblioteca.gif" alt="" /></a> </div> </div> </div> <div class="clear"></div> </div> </div> <?php get_footer(); ?> <!-- Chama o Footer --> Compartilhar este post Link para o post Compartilhar em outros sites
rogerio de paulo 7 Denunciar post Postado Outubro 15, 2010 Tenta desativar os outros plugins, pois pode ser conflito. Faz esse teste e posta o resultado. valeu at++ Compartilhar este post Link para o post Compartilhar em outros sites
Anderson Narciso 3 Denunciar post Postado Outubro 15, 2010 Plugins que utilizam jQuery pode ser o motivo. Acho que é a primeira vez que vejo o contact form 7 dar conflito, interessante. Compartilhar este post Link para o post Compartilhar em outros sites