Forum Replies Created
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
artmaug
MemberHello braddalton, thanks for the quick response, but i try here and does work.
I created a search.php with the following code:
<?php /** * Search Results Template File */ get_header(); ?> <header> <h1>Search Results: "<?php echo get_search_query(); ?>"</h1> <br> </header> <?php if ( have_posts() ) : // results found?> <?php while ( have_posts() ) : the_post(); ?> <div class="container-fluid"> <div class="row"> <div class="col-md-3 col-sm-6 col-xs-12"> <div class="gr-infos-container-cliente"> <div class="gr-promo-do-cliente"><?php the_field('tipo_de_promo');?></div> <div class="gr-img-cliente"><a href="<?php the_permalink();?>" title="<?php the_title();?>"><img src="<?php echo get_field('foto_cliente_miniatura');?>" alt="" class="img-responsive center-block"></a></div> <div class="gr-nome-cliente"><a href="<?php the_permalink();?>" title="<?php the_title();?>"><?php the_title();?></a></div> <div class="gr-tagline-cliente"><?php the_field('tagline_do_anunciante');?></div> <div class="gr-bairro-do-cliente"><i class="cliente fa fa-map-marker"></i><?php the_field('bairro_do_cliente');?></div> </div> </div> </div> <!-- Row --> </div> <!-- Container --> <?php endwhile; ?> <?php else : // no results?> <article> <h1>No Results Found.</h1> </article> <?php endif; ?> <?php get_footer(); ?> genesis();
Unfortunately the content remains on top of the other.
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)