Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #167362

    Can you please tell me how to change the template for the search results page?

    Where is that page located within WordPress and/or within the file folders?

    Thank you in advance.

    This template is awesome!

    #167456

    Hi fshn2day!

    That is handled by the search.php file.

    Regards,
    Josue

    #167462

    Hey fshn2day!

    You can edit includes > loop-search.php to modify the search results page. :)

    Cheers!
    Ismael

    #168982

    Thank you, but not being a PHP programmer, I am at the mercy of the Enfold template and WordPress for the layout. Can you point me in the right direction? Is there some place within WordPress admin to define the layout, as I can on other pages, for the search results page?

    Thank you.

    #168992

    Is there a way to get the LayerSlider – Small Header, which contains a full width image, to appear on the search results page? If you do a search for “test” you will see what I mean. The rest of the layout is perfect, (sidebar and menu on the left), and results on the right. I just need the full width image which is contained in the small LayerSlider element, to appear in the location between the header and the content, as it does on all the other pages.

    See: http://otsecure.net/techserv/

    Thank you so much for your help.

    #169142

    Hello!

    Can you please apply the LayerSlider that you want to show on the search result page? Attach it to a page then give us a link to it. We can copy the html code and attach it directly on loop-search.php.

    Cheers!
    Ismael

    #170171

    I’m so sorry for the delay. My boss asked me to work on a different site. When you say “Can you please apply the layerSlider…” I guess that is already linked on all the other sub pages of the site, such as this page: http://otsecure.net/techserv/services-2/

    Thank you so much for your help. ;-)

    #171073

    Hi!

    Edit search.php, find this code:

     get_header();
    
    	 $results = avia_which_archive();
    	 echo avia_title(array('title' => $results ));
    	 ?>

    Replace it with:

     get_header();
    	 ?>
    
    <div class="ls-wp-fullwidth-container" style="height: 150px;"><div class="ls-wp-fullwidth-helper" style="height: 150px; width: 1583px; left: 0px;"><div id="layerslider_2" class="ls-wp-container ls-container ls-fullwidth" style="width: 1583px; height: 150px; margin: 0px auto; visibility: visible;"><div class="ls-webkit-hack"></div><div class="ls-inner" style="background-color: rgb(255, 255, 255); width: 1583px; height: 150px;"><div class="ls-layer ls-animating" style="width: 1583px; height: 150px; visibility: visible; display: block; left: auto; right: 0px; top: 0px; bottom: auto;"><img src="http://otsecure.net/techserv/wp-content/uploads/2013/09/slide3_Layer_1.jpg" class="ls-bg" alt="Slide background" style="padding: 0px; border-width: 0px; width: 1600px; height: 150px; margin-left: 0; margin-top: -75px;display: block;"></div></div><div class="ls-loading-container" style="z-index: -1; display: none;"><div class="ls-loading-indicator"></div></div><div class="ls-shadow"></div></div></div></div>
    
      <?php
    
    	 $results = avia_which_archive();
    	 echo avia_title(array('title' => $results ));
    	 ?>

    Cheers!
    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Changing Template for Search Results?’ is closed to new replies.