![phoenix](https://d1a29h5kxv3oc2.cloudfront.net/dist/img/phoenix.81914efc7207f6a059bd10f5d3fd5f89.png)
Update Ajax WordPress Post Filter to Show All by Default
- or -
Post a project like this1927
£30(approx. $39)
- Posted:
- Proposals: 8
- Remote
- #2339544
- Awarded
Wordpress / Responsive Web Developer / Bootstap / PHP / HTML + CSS / jQuery / PSD to HTML / Theme Development - Expert
![Top Seller with earnings over £100k Top Seller with earnings over £100k](https://dw3i9sxi97owk.cloudfront.net/uploads/prizes/badges/6848fd9e0514ae9277cce59806b79dc5.png)
![PPH Ambassador PPH Ambassador](https://dw3i9sxi97owk.cloudfront.net/uploads/prizes/badges/6c5bc3269443290fff4c1be8552d62c6.png)
![Top Endorsed Top Endorsed](https://dw3i9sxi97owk.cloudfront.net/uploads/prizes/badges/ffdd1b856a16c89191f1150e4430076b.png)
Content Writer | SEO | Digital Marketing | Shopify | Wordpress | Laravel | Codeigniter | MEAN | Digital Marketing
![Top Endorsed Top Endorsed](https://dw3i9sxi97owk.cloudfront.net/uploads/prizes/badges/ffdd1b856a16c89191f1150e4430076b.png)
AWS EC2, RDS & S3 | NodeJs | Angular | Codeigniter | Laravel | PHP | WordPress | OpenCart | Elastic Search | Apps | MongoDB | Magento | Bootstrap | Shopify | API | JQuery | AWS CloudFront & Lambda
![Top Endorsed Top Endorsed](https://dw3i9sxi97owk.cloudfront.net/uploads/prizes/badges/ffdd1b856a16c89191f1150e4430076b.png)
AWS Certified Dev, Web & Software Developer, API Integrations Expert, DevOps Engineer
![Top Endorsed Top Endorsed](https://dw3i9sxi97owk.cloudfront.net/uploads/prizes/badges/ffdd1b856a16c89191f1150e4430076b.png)
1198006900124315915213492098726197792511141202688
![Darren P.](https://dw3i9sxi97owk.cloudfront.net/uploads/thumbs/252098b3ac2843b5d1ba9f1394af82d6_70x70.png)
![GTS S.](https://dw3i9sxi97owk.cloudfront.net/uploads/thumbs/70a8f2d0292ea7fa92993c5b50e6538e_70x70.png)
![Hemant C.](https://dw3i9sxi97owk.cloudfront.net/uploads/thumbs/0abdd85f6892336942193af0e2fbf122_70x70.jpeg)
![HireIndianProgrammers H.](https://dw3i9sxi97owk.cloudfront.net/uploads/thumbs/33109c625d3f70cdcd10c52fd479bd4d_70x70.jpg)
![Ankush G.](https://dw3i9sxi97owk.cloudfront.net/uploads/thumbs/0f0044b2a774bcd9f0cd479cbf52b1f0_70x70.png)
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.](https://www.peopleperhour.com/imgs/default_avatar_light_70x70.png)
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