Automattic / Automattic/jetpack
Custom hooks and actions do not work with Infinite Scrolling
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
#### Steps to reproduce the issue
Hi there!
I'm using a custom-built child theme using Genesis as the parent theme. I have a template page `search.php` in my theme that gets used every time a user searches for something: www.mydomain.com/?s=something. In this page, I have custom hooks and filters that modify the display of my search page.
#### What I expected
All search results should display according to my hooks and filters.
#### What happened instead
When I use infinite scrolling, I noticed that the new posts load correctly; however, none of the hooks and filters inside `search.php` get triggered. So basically, half of the search results posts looks the way I want, and the other half (the ones loaded using infinite scrolling) does not.
I'm not using any search plugins.
Could you please provide me some guidance on this issue?
Thanks!
Hernán
Contributor guide
Assessment
This issue has not been assessed yet.