something like this in your page template, ideally after endwhile (if any)
<?php
$theQuery = strtolower(trim(get_the_title()));
$args = ('s=".$theQuery ."&showposts=5');
$search_query = new WP_Query($args);
if ($search_query->have_posts()) :
while ($search_query->have_posts()) :
$search_query->the_post();
//do your stuff
endwhile;
endif;
?>
Related Posts:
- Manual excerpts for pages not working on Search
- Custom Search Page Pagination Not Working
- When I split a large post with , how can a search locate users to the correct page?
- Form action redirect to the same page
- Two Search pages, One search form
- How get get list of pages in ajax search
- Getting to a specific page on website using specific code instead of navigation bar
- Search child pages from a specific page parent
- Add Filter to Ignore a Post/Page or a Number of Post/Pages
- Search results to be only posts & children of page ID
- Search anything from a Child and Sub-Pages of their Parent page
- Add pagination to search.php page
- Search Page: activate html code if the tag is on the page
- If searched in a category show different 404 page
- Search page different title per results
- search page different results
- simple category search form returns full text – but I need excerpts
- Save search criteria per user and show on custom user page
- How to get current page ID outside the loop?
- featured image as background image on pages
- Can I display submenus in groups, using wp_list_pages?
- Order by menu_order and title?
- WP Page and Subdirectory with same name
- Can I display the widget admin in the page admin?
- How to inject custom url path for page ?
- How to display page title+link of page created by user
- Modify theme to get page excerpts on front page
- get_page_by_title not working when used with a variable
- WordPress twenty eleven sidebar on Pages
- How to disable Page Attributes dropdown in wp-admin
- How to show updated edit on preview URL without clicking preview button
- How to make certain page templates visible to admin only
- Editing Pages that Have Already Been Published
- What is the proper way to get contents of a page?
- How to redirect a page to subdomain?
- Getting child content
- Clean URL link for page without number
- How can I have two content titles?
- Get the Page Content,without generating HTML
- How can I split long posts into pages?
- Slug is redirecting to 404
- Include content from one page to another
- Adminbar Missing “Edit Page”
- “next page” of parent in infinite loop
- Access the same page from multiple urls (wildcard)
- Layout Builder.
- Edit custom HTML page from WP admin dashboard
- Pass data from one page to anothe file/page in wordpress
- Get the Current Page Slug-Name
- Display child pages in a parent page? [closed]
- List all posts with the parent or grandparent of a page with a specified ID
- Why isn’t WordPress respecting my HTML?
- block a page from logged out users and redirect to homepage
- Edit page shown after login in WordPress?
- Disable ADD PDF media button on rich text editor
- invalid argument in foreach when trying to list custom post types in archive.php
- WordPress page not taking precedence over server directory
- How to properly enable comments form in page template
- How do I reference the front page’s parent Page object?
- trying to add a author value in wp page links?
- Check if has pages?
- page template – undefined structure in source code
- My site does not load but downloads a file (wordpress)
- How to show only homepage in google results instead of privacy, contact pages
- what does the symbol “?” mean and how can i edit that page?
- Display latest comments (global) with replies on a page
- Set different heights per screen size with inline styles CSS into the ‘Text’ section of a Page
- Some pages can’t be updated – post_content field not updating
- How to publish pages under a subdomain url?
- Cannot pull WYSIWYG content
- how to setup subdomains for pages?
- How to approach need for virtual page on my WP site?
- How can I change the background color of a contact box? [closed]
- Press This for Page
- Supress listing of virtual pages
- How to limit the pages shown in the page manager to those created by the logged in user?
- How to end the Page Load Event and load after that?
- How can I add a new page in the pages tab that belongs to specific theme?
- New page has incorrect URL
- How to migrate .HTML pages to WordPress
- Separate Editing from Publishing for pages
- Call a function on every wordpress pages only
- Echo page path suffix only – not the title, path or permalink
- Programatically create multiple pages by passing in array of info
- Create custom archive page for individual authors which is separate from the author.php page
- Showing certain page without redirection
- How to add or remove metabox each page separately?
- Retrieve page content and pass to PHP?
- How to make in post Parent page children page list nummbered
- Get moderation notifications on one post only
- Advanced Multi Tier Navigation across columns
- How To Display Pages Based On Subscriber Signup Date
- How to preview a page instead of a category?
- Display random page
- In WP, Google map error initMap is not a function [closed]
- Split Page Links
- Ask for template when adding a new page
- How to view front-end of WordPress website, using Atom?
- Can’t create new pages in wordpress
- Custom template is not showing up in templates dropdown list after re-naming it