Find Jobs
Hire Freelancers

Redirect Default WordPress Search to Search Page

£10-20 GBP

Imekamilika
Imechapishwa over 4 years ago

£10-20 GBP

Kulipwa wakati wa kufikishwa
I'm running the Genesis Framework and need a way to redirect the primary search results URL (/?s=) and search boxes to a new/custom search page in order to get FacetWP and SearchWP working nicely together. On the default search archive, SearchWP is taking over and overriding FacetWP's own result search and filter. I need to be able to redirect results and searches from /?s= to /search/?_s= Those settings should apply to both the search archive itself (if anyone manually attempts to visit it or manually enters a search) and the default WordPress search boxes/widgets across the site. Usually, this would be simple, and FacetWP provide code for str/preg replaces to redirect search boxes: add_filter( 'get_search_form', function( $form ) { $form = str_replace( 'name="s"', 'name="_search"', $form ); $form = preg_replace( '/action=".*"/', 'action="/search/"', $form ); return $form; } ); However, Genesis has its own filter (genesis_search_form) and own search box settings which are interfering with that working, and I can't find a way to disable Genesis's search box to get back to the WordPress default. I also need to make sure that the search page slug (/search/) to be a globally set variable, as we'll need to do manual translations on the site's template in the near future and only want to have to change them in one place. It should be fairly straightforward for someone well versed in PHP, but not being a coder/developer I can't QUITE make it work. Hopefully, that makes sense, but if you need to know any more please ask!
Kitambulisho cha mradi: 20431072

Kuhusu mradi

8 mapendekezo
Mradi wa mbali
Inatumika 5 yrs ago

Unatafuta kupata pesa?

Faida za kutoa zabuni kwenye Freelancer

Weka bajeti yako na muda uliopangwa
Pata malipo kwa kazi yako
Eleza pendekezo lako
Ni bure kujiandikisha na kutoa zabuni kwa kazi
Imetolewa kwa:
Picha ya Mtumiaji
Hi There, I can fix it now. I am PHP experts having combined experience of more Than 6 years in PHP Framework :- Prestashop,Magento, Wordpress, & BIgcommerce and already completed more than 100 projects successfully. We offer the following services in Web Development: Creating library function Configuring website Website migration from one server to other MYSQL database issues Bug fixing and Maintenance Developing admin Management to control the website content Banner and Slider Management (customization) Custom User Management. Custom Coding. Payment gateway Integration. API Integrations. Custom Ecommerce Development. Please give us an opportunity to show our expertise in the same. I would love to discuss the work with you. we can proceed ahead for a long term relationship with best outputs always. Wordpress: 6 yrs wordpress plugin and theme integration: 6 yrs html: 6 yrs css: 6 yrs javascript:6 yrs Bootstap: 6 yrs mysql : 6 yrs Please initiate chat so that we can discuss more and I can suggest you better. Regards:- Pankaj Rai
£20 GBP ndani ya siku 1
4.8 (150 hakiki)
6.3
6.3
8 wafanyakazi huru wana zabuni kwa wastani £18 GBP kwa kazi hii
Picha ya Mtumiaji
I am specialize in website design and development and are excited for the opportunity to work with you in accomplishing your goals. I am Good at PHP, WordPress. Hi jonwatson87! Please Send me a message so that we can discuss more about this project
£20 GBP ndani ya siku 5
4.9 (96 hakiki)
6.5
6.5
Picha ya Mtumiaji
i will do it first bid on freelancer add function in your wordpress website and some codes. it will take some according your hosting server speed
£15 GBP ndani ya siku 5
0.0 (0 hakiki)
0.0
0.0

Kuhusu mteja

Bedera ya UNITED KINGDOM
Falmouth, United Kingdom
5.0
8
Njia ya malipo imethibitishwa
Mwanachama tangu Mei 13, 2012

Uthibitishaji wa Mteja

Asante! Tumekutumia kiungo cha kudai mkopo wako bila malipo kwa barua pepe.
Hitilafu fulani imetokea wakati wa kutuma barua pepe yako. Tafadhali jaribu tena.
Watumiaji Waliosajiliwa Jumla ya Kazi Zilizochapishwa
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Onyesho la kukagua linapakia
Ruhusa imetolewa kwa Uwekaji wa Kijiografia.
Muda wako wa kuingia umeisha na umetoka nje. Tafadhali ingia tena.