Update Ajax WordPress Post Filter to Show All by Default
- or -
Post a project like this1630
£30(approx. $36)
- Posted:
- Proposals: 8
- Remote
- #2339544
- Awarded
Wordpress / Responsive Web Developer / Bootstap / PHP / HTML + CSS / jQuery / PSD to HTML / Theme Development - Expert



AWS EC2, RDS & S3 | NodeJs | Angular | Codeigniter | Laravel | PHP | WordPress | OpenCart | Elastic Search | Apps | MongoDB | Magento | Bootstrap | Shopify | API | JQuery | AWS CloudFront & Lambda

Content Writer | SEO | Digital Marketing | Shopify | Wordpress | Laravel | Codeigniter | MEAN | Digital Marketing

AWS Certified Dev, Web & Software Developer, API Integrations Expert, DevOps Engineer

1198005213425111443159169001292098712026882619779





Description
Experience Level: Entry
I have this in functions.php:
*MOVE TO FILE*
And this in the theme template:
*MOVED TO FILE*
This works great, but it shows no posts upon initial load, and then shows the relevant posts when a filter is applied. I would like to show all posts upon initial load, and then show the relevant posts when a filter is applied.
Can you help update the code to behave like this?
UPDATE: See attached file for code
*MOVE TO FILE*
And this in the theme template:
*MOVED TO FILE*
This works great, but it shows no posts upon initial load, and then shows the relevant posts when a filter is applied. I would like to show all posts upon initial load, and then show the relevant posts when a filter is applied.
Can you help update the code to behave like this?
UPDATE: See attached file for code

Ray G.
100% (15)Projects Completed
9
Freelancers worked with
8
Projects awarded
38%
Last project
27 Nov 2020
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Ray, you cannot post html / php or js in PPH. can you attach text files with those functions in?
Ray G.18 Mar 2019Yes, thanks for letting me know - I have done this.
783172
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