• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

artmaug

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • May 13, 2015 at 7:36 pm in reply to: Custom Layout in Search Result Page #152119
    artmaug
    Member

    Hello, the link is:

    SITE

    May 13, 2015 at 7:10 pm in reply to: Custom Layout in Search Result Page #152112
    artmaug
    Member

    Hello 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: &quot;<?php echo get_search_query(); ?>&quot;</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.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble