Tagged: search results page
How do I remove the “Feel like browsing some posts instead?” message and widget from the search results page… I can see the code in the loop-search.php file but would like advice on commenting out the relevant code…
As a general rule what is the best way of trying to customise the search results page??? i.e. adding layouts or widgets… Can it be done using pages or does it require manual editing of loop-search.php or relevant php files???
Many Thanks,
Sean.
Hey GARTLANS!
You can add following code to Quick CSS in Enfold theme options under Styling tab
.search-no-results .widget avia_combo_widget, .search-no-results h3 { display: none!important; }
or you can comment out by adding // in front of each highlighted lines in this screenshot http://i.imgur.com/jPTnewr.jpg
And yes, you should modify loop-search.php file manually if you would like to add new elements to search page
Cheers!
Yigit
Yigit,
Thanks the manual edit to loop-search.php file worked… Problem solved thanks for the quick response…
Cheers,
Sean.