Find Jobs
Hire Freelancers

Redirect Default WordPress Search to Search Page

£10-20 GBP

已完成
已发布将近 5 年前

£10-20 GBP

货到付款
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!
项目 ID: 20431072

关于此项目

8提案
远程项目
活跃5 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
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 在1天之内
4.8 (150条评论)
6.3
6.3
8威客以平均价£18 GBP来参与此工作竞价
用户头像
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 在5天之内
4.9 (96条评论)
6.5
6.5
用户头像
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 在5天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED KINGDOM的国旗
Falmouth, United Kingdom
5.0
8
付款方式已验证
会员自5月 13, 2012起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。