You need to correctly override the page you want them not to see.
So for example, if you have a portfolio page that looks one way, you can override that by having a custom portfolio.php of your own.
In there you can modify the look, but also you can setup your custom query that will basically override the search to show what you want to show.
There is not really anyway to do it without editing any PHP files, but to avoid losing changes I would suggest putting your new templates in a child theme or plugin.
This might help you with the templates available and how they are used.
https://developer.wordpress.org/themes/basics/template-hierarchy/
Related Posts:
- Creating search form for custom database table
- Search through custom post type and custom fields takes 5 minutes
- Customise search form in the Widget
- Comment filtering (search)
- Combine multiple words in custom meta search query
- Custom search page and search by title, content and tag
- Search a post using the date it was posted
- Setting custom search engine indexing for a “dynamic WordPress page” with htaccess
- Custom URL going to 404
- Search result page redirect ex.com/?s=searchterms to ex.com/searchterms
- Hi, I wanted to make custom search with multiple fields
- Steps for custom data retrieval
- Custom search to display results within same page
- Search widget will search everything in the site, how to limit to only search gallery name
- How to hook up search results page to a back-end page?
- Admin search post meta
- Add a searchbox to the body of a page
- Custom Search on Custom Page while preserving the main search function
- Custom Loop Query For Search Page
- Search URL parameters query [duplicate]
- Applying WP-cli Search & Replace to Static SQL Dump File
- How to create custom search page
- Custom Same Page Search
- How to Add Additional Search Button?
- How to Clear Empty Search values?
- WP Search Form Query: Add Author’s posts into search query
- WordPress search on a custom table
- Adding overlay search to wordpress using add action/filter
- Allow WP users to sort search result on a videos site
- WP_User_Query Search Multiple Keywords from a Multi-Select Field?
- Custom dropdown search form that allows users to select option B based from Option 1
- Custom search results
- WordPress custom search – pagination
- Creating a search with tag variable also added for more detailed results
- What shortcode should I use for
- Two searchforms with different categories/posts per page
- Search a meta field for a value in all posts
- Custom search by several options send on form not works
- Search results load individual post in slide out div
- WordPress Search on Multiple wp sites
- Create a custom search for Estate Agency WordPress site
- How can I make a search term redirect to a page
- Sort Search Results in Order of/by Character @ count (9) of post(s) title. (Ocean-WP theme)
- Show total sales for each products on search results page Woocommerce
- Custom Search on media files PDF images pages posts
- Custom maintenance page
- How to customize the default HTML for WordPress Attachments
- Is it possible to change the attributes of a registered style or script before it fires?
- how to change “published date” format on edit.php (Posts page)?
- How can I integrate pages written in something other than PHP?
- How to change submit button value in comment from “Post Comment” to “Send”
- Custom field values in permalink
- Creating a searchable A-Z listing of hundreds of companies/services
- Display WordPress Search
- Custom protected password page with ACF
- Customize in category page
- Custom Dashboard Home Screen Options
- How to get WordPress to accept the tag in articles (or other alternatives)
- How do I change the default admin color scheme in MP6
- How can a single line in a blog post take down my server?
- Calling a php file from a javascript file in wordpress
- Adding a Table to the wordpress database
- how can I change the background color of all posts on my server?
- How to loop for every result found in the_content() when using the search query?
- Turn off redirect to canonical domain (or host website on any hostname)
- Custom title, Bones theme
- How to change the category url jusy show /category/%category_id% in wordpress?
- How can I display a PHP foreach loop’s answers by AJAX
- Child Theme with multiple css files
- How do I redirect a post url to a custom url?
- How to customize
- Why the css in twenteenfourteen-child theme take no effect?
- add custom content to appearance/widgets screen
- css media query question [closed]
- How to create a page /1 using ?
- Hiding Short Description in Shop Page, WooCommerce
- theme customizer – can a single option pass multiple values?
- Separate header for static home page and posts page
- Pagination with custom field
- Customizing the gallery of the post correctly
- How to retain visual breadcrumbs w/ tricky URL structure? Custom post template?
- Mimicking admin panel menu from wordpress 3.0.1
- Will WordPress updates remove Gutenberg Additional Classes?
- WP_Query – sort the results by meta value custom attribute wocoomerce
- wordpress custom fields loop
- why won’t my custom css load with the enqueue method or any other method?
- How can I create a Custom Page? (not a page template!!)
- Adding a drop-down (select tag) option under Menu Settings in WordPress Admin
- How to have different background image based on post category
- How to add rewrite rule for product compare page?
- Custom stylesheet not loading
- Custom Admin Section
- issue with saving custom metaboxes fields
- Getting a jQuery library to work in WordPress & Avada
- DOM reference to TinyMCE editor element (button)
- Allow arbitrary text after page URL
- Possible to make a site like urban dictionary using WP?
- Change the functionality of wordpress users module in admin
- Making custom pages (with an example to explain the goal)
- Use wp_login_form function to login with a custom user table?