Search results are showing full page instead of sample

Go to theme settings in dashboard (Pokemon -> Layout) and set option “Cut content on the Front/Category page” to ON. Update #1 To change the way posts are displayed only on the search page, you can add || is_search() after smt_getOption( ‘layout’, ‘cuttxton’ ) if( smt_getOption( ‘layout’, ‘cuttxton’ ) || is_search() ) But it will … Read more

how to disable autocomplete search on wpLink?

OP linked it in a comment above, but here’s the code used. Note This doesn’t actually disable autocomplete, it simply removes all of the results before they’re displayed (and I added some CSS to hide the loading icon). They’re still fetched by WP, just overridden with an empty array. add_filter( ‘wp_link_query’, ‘remove_results_from_link_builder_autocomplete’, 10, 2 ); … Read more

Remove gray header on Search Result page on WordPress

Put this css in your style. For Particular page use class “search-results” and you can replace “RED” color with your color. if css not apply then try with “!important” like background-color: red !important; .search-results .page-header { background-color: red; } If you like replace color with image then you can use css property “background-image”.

search results in custom template search.php

The search.php template is used, and the correct posts returned, when a search is performed with the ?s= query. Not ?search=. Make sure the name attribute of the input in your search form is s: <input type=”search” name=”s”> And your index.php file should absolutely not be using a custom query like that. Use the main … Read more