Hello, I’m using version 2.0b2.110822 of infinite scroll. I know WordPress is not meant to be used this way, but I’m still trying to bend it to my will. I have a page using a custom template, custom header, and custom loop with pagination. I’m trying to get infinite scroll to load in the header, specifically for this page, and this loop. On my other pages I get something like this :
Now, when I add this to the header of the page, infinite scroll works like a charm, but ignores my loop, instead posting the content from the page I copied the code from. What would I have to add to the header file in order for infinite scroll to initialize correctly for this page? Or would I need to create a function in the functions.php file? Something like, if (this page)add_action wp_head Yada, yada, yada? Thank you for any direction here.
- The topic ‘Loading Infinite Scroll in a Custom header for a Page’ is closed to new replies.