Find Jobs
Hire Freelancers

Complete AJAX WP_QUERY

$10-30 USD

Completed
Posted about 7 years ago

$10-30 USD

Paid on delivery
When calling wp_query via AJAX and passing a category ID and search parameter, the query does not return any posts. On page load, the query runs fine, which runs the same query. If I add these variables directly in the JS or on the query itself, the query also runs fine. I can also see the variables being set on the JS console when tested, so the issue would appear to be that they are not being passed via the AJAX request, but I'm struggling to see why as this runs on page load. The "cat" variable is set by selecting a category (or multiple ones) via a side menu, then this is set as a string of IDs (1,2,3,4). The "0" value is set initially, so all posts are returned. The "search" variable is taken from an input field. I have attached the templates used for this, please can you take a look and add the line "I have looked at the files" to your quote, so I can filter out the blind quoters. Thanks!
Project ID: 13153530

About the project

6 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello Sir, i am having 8 years of exp i have read the project and ready to do work right now...........................
$10 USD in 1 day
4.9 (186 reviews)
6.4
6.4
6 freelancers are bidding on average $21 USD for this job
User Avatar
Hello sir/mam, I am good at : 1. WordPress web development 2. PSD to HTML 3. Responsive web development 4. Graphics Designing 5. Photoshop 6. PHP 7. html + CSS Styling 8. js & jQuery. you can check my work at "https://www.freelancer.com/u/webcast.html#/reviews" . I would like to work on your project. I Really Need this work. I'll not disappoint you. Thank you.
$30 USD in 1 day
5.0 (41 reviews)
4.8
4.8
User Avatar
Dear Sir/Mam, "I have looked at the files" I have read your project description and ready to start work immediately. I have been in this industry for 4+ years and such jobs are my daily practice. I can assure that if you will work with me once, you would like to hire me repeatedly. I have bid a comparatively lower amount. Please feel free to ask questions before awarding the project. Thanks & regards, Ganpat Desai
$25 USD in 1 day
5.0 (25 reviews)
4.2
4.2
User Avatar
Dear Client, Greeting of the day ahead !!! Thanks for providing us opportunity to place bid over the project and communicate with you. I am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned .I have checked your requirements.i have right skills to work on this assignmentWe find our expertise, skills and capabilities are perfectly blends with your project requirements because we have already worked on many projects. You'll love the whole layout, interface design , cross-browser compatibility and mobile-device-friendly interfaces that we design Our team has created over dozen of windows, and web based appliations iPhone/iPad games and apps, and over 10 Windows and Linux server APIs and security tools Don't waste any more time in your development We take care of all these things for you . Advanced custom coding for our clients. Anytime. can u provide your email or sky-pe etc for further discussion about the project. plz add me to discus I am ready to discuss with you Looking forward to hear from you. with best Regards
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi I am an IT Professional and full stack web developer I can assure you that I can help you with this one! looking forward for this project
$20 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of THAILAND
Witney, Thailand
5.0
31
Payment method verified
Member since Sep 10, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.