All Questions
46
questions
0
votes
1
answer
45
views
Search page doesn't recognise post_type=page
I've created some custom filter buttons for my search page, listing various custom post_types. Included in the list is the basic 'page' post_type. However, when I use this filter (updating the url to /...
0
votes
0
answers
186
views
Rewrite URL custom search query
I have this url:
mydomain.com/?s="SEARCH TERM"&categoria="WORDPRESS CATEGORY OF POSTS"&province="CUSTOM POST FIELD"&poblacion="CUSTOM POST FIELD"
...
0
votes
1
answer
42
views
How can I make a search term redirect to a page
I'd like users to enter a unique number such as "756463" and it take them to a specific page.
How can this be done please?
0
votes
0
answers
31
views
I want to add another search box on posts page in dashboard
There is already a search box in wordpress dashboard for posts, products, pages etc. in their listing page.
My client use wordpress admin with their phone so he requested another search box on top of ...
0
votes
0
answers
17
views
My worpress search page is showing no results
I want to display the publications searched for via searchform.php in the search.php page but it does not work ...
The search is done well when I look at the url (ex: New World):
http://localhost/?...
1
vote
0
answers
70
views
Make parts of your wordpress website completely built with data from external APIs?
I have experience with building frontends with react.js that use external data from RESTful APIs (from a headless CMS).
Now I have someone ask me if I could build a wordpress website that has several ...
0
votes
2
answers
71
views
Add a searchbox to the body of a page
I'm creating a website in which I need that, when I click on one of the tabs of the specific menu, and it opens, this page contains a search box in its body.
My question is how can I add this search ...
1
vote
1
answer
97
views
Search in custom post type AND in pages with category
I have a search field that's searching in my custom post type bwps with a hidden input:
<form class="search-form form-inline" action="<?php echo site_url('/'); ?>" method=&...
0
votes
1
answer
81
views
How to show only homepage in google results instead of privacy, contact pages
When I search my website in google, all the pages and posts can see. I want to make only homepage visible in search results and remove other pages(privacy, contact etc). And also all the posts can ...
1
vote
0
answers
25
views
Getting to a specific page on website using specific code instead of navigation bar
Is there a way get to a specific page on a WordPress website by entering in a code instead of going through the navig
0
votes
1
answer
68
views
How to create custom search page
So I'm trying to make my search.php file loop through three custom post types when doing a search.
I currently have three cpts , post, anime, peliculas and I'm currently using a function that will ...
1
vote
1
answer
2k
views
How get get list of pages in ajax search
I am trying to follow this solution, it is kind of working but I need a list of pages rather than posts.
This is the code that I am working with using Codex information from wordpress but I am ...
3
votes
3
answers
3k
views
Custom Search Page Pagination Not Working
My Seach Page URLs:
https://www.example.com/search/keyword/page/2/
Here my custom search page:
<?php
if($_GET['search_text'] && !empty($_GET['search_text']))
{
$text ...
0
votes
0
answers
38
views
How do I display images with matching text in the search results page? [duplicate]
My site is a bunch of images in wp default galleries with separate links on separate pages not posts. I want my users to be able to enter a search term and have the results page display the images ...
0
votes
1
answer
2k
views
Include images from pages in wp search.php results in default wp search
Is there a way to include page images in wp search? Like I want to search through my sites images on pages not in posts by caption/alt text and display them in the results page as thumbnails.