kidcardboard
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Search page not foundThey are no longer in business
Forum: Themes and Templates
In reply to: Search page not foundI don’t think passing the
search_mode
andsearch_mode_value
params are necessary but I haven’t had the chance to test that yetForum: Themes and Templates
In reply to: Search page not foundIt’s from the theme from what I can tell. The radio button toggles between built-in content search or querying a remote service.
Forum: Themes and Templates
In reply to: Search page not foundForum: Themes and Templates
In reply to: Search page not foundSorry, it never was… I may have caused some confusion in my original post when I was referring to localhost. I was simply using that because the host part was irrelevant. It was the rest of the url I was having issues with.
Forum: Themes and Templates
In reply to: Search page not foundsite_url
andhome
(couldn’t findhome_url
) are bothhttps://localhost:8616
which is probably from the previous developer as I’m using MAMP Pro and have hosts set up (also this is a pull-down of a live site so those are wrong anyways).I was able to get it working by deleting the Search page and setting the search form action to
<?=esc_url( home_url( '/search/' ) )?>
. Looks like having the the page and the template named the same was causing some conflicts.I guess what happened was
searchform.php
had been created as a template part instead of a full template andsearch.php
was applied to the search page that had been created. Oh the joys of taking over projects from closed dev shops…. Now if I could only figure out why I’m not getting proper search results and pagination.Forum: Themes and Templates
In reply to: Search page not foundget_bloginfo('url')
andhome_url()
output the same urlForum: Themes and Templates
In reply to: Search page redirecting to home pageI’ve taken over a site from another developer and I’m having a similar issue. I’ve created a search page and if I leave the form action as <?php bloginfo(‘url’); ?> it does the search and uses the search template but the url is https://localhost (not what we or the client want). If I set the action to <?php bloginfo(‘url’); ?>/search I get page not found, however if I navigate to https://localhost/search is displays the search page with no search results.
I was able to kinda get it working by using https://localhost/search.php but then the pagination links don’t work and if you change to French it breaks (although I could probably fix the French issue with .htaccess, haven’t tried that yet).