Small PHP fix
- or -
Post a project like this2594
£15(approx. $19)
- Posted:
- Proposals: 4
- Remote
- #1461161
- Awarded
Description
Experience Level: Expert
General information for the website: Small PHP fix on a Wordpress website
Kind of development: Customization of existing website
Description of requirements/features: I need someone to help me to correct some PHP on a wordpress install.
The pagination isn't working as it should, if you select more then 1 town from the search form it creates a url with the variables and that works fine:
?search-type=For+Sale&property-type=&town%5B%5D=Anchorsholme&town%5B%5D=Bispham
However the pagination lists them differently as below, so when you click next the search criteria is not followed onto the next page.
/page/2/?search-type=For%20Sale&property-type=&town=Anchorsholme&town=Bispham
This should be a simple fix, but I just cannot get it to work.
** This needs to be done within the next hour ideally and a full backup of the files you are editing taken just in case **
Extra notes:
Kind of development: Customization of existing website
Description of requirements/features: I need someone to help me to correct some PHP on a wordpress install.
The pagination isn't working as it should, if you select more then 1 town from the search form it creates a url with the variables and that works fine:
?search-type=For+Sale&property-type=&town%5B%5D=Anchorsholme&town%5B%5D=Bispham
However the pagination lists them differently as below, so when you click next the search criteria is not followed onto the next page.
/page/2/?search-type=For%20Sale&property-type=&town=Anchorsholme&town=Bispham
This should be a simple fix, but I just cannot get it to work.
** This needs to be done within the next hour ideally and a full backup of the files you are editing taken just in case **
Extra notes:
JD Web Management ..
92% (19)Projects Completed
12
Freelancers worked with
12
Projects awarded
48%
Last project
9 Dec 2018
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
JD,
The characters that are missing are square brackets [ and ]. They normally tell the server side code that there is an array of parameters - in your case 'Town'.
However it should be possible to send without the [] and it still work.
Are you using and custom plugins to handle the search or WordPress in built functionality?
Kind Regards
Mark
326344
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies