If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
September 28, 2013 at 1:28 am #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!September 28, 2013 at 7:52 am #167456September 28, 2013 at 8:03 am #167462
You can edit includes > loop-search.php to modify the search results page. :)
IsmaelOctober 1, 2013 at 10:18 pm #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.October 1, 2013 at 10:44 pm #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.
Thank you so much for your help.October 2, 2013 at 6:57 am #169142
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.
IsmaelOctober 4, 2013 at 12:01 am #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. ;-)October 6, 2013 at 9:27 am #171073
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 )); ?>
The topic ‘Changing Template for Search Results?’ is closed to new replies.