Infinite Scroll 403 Forbidden and also Post Queries
-
I’d love to implement Infinite Scroll onto my website but I’m running into two problems.
Note: I’m using a child theme I made off of Twenty Twelve theme – using the Infinite Scroll included with Jetpack
1. IS works on tags and category pages, but it does not work on my home page (shows loading icon but fails to load more entries). Chrome is telling me there’s a 403 Forbidden error –
Failed to load resource: the server responded with a status of 403 (Forbidden)
GET https://travels.bagelsound.com/?infinity=scrolling&action=infinite_scroll&pa…nity-twentytwelve&styles%5B%5D=wpcom-notes-admin-bar&styles%5B%5D=noticons
403 (Forbidden)
I know that my web host did some strange stuff because of recent hacking incidents, but I haven’t touched my .htaccess file from the original wordpress installation…
Does someone have more information on what could be the problem and how I might fix it?2. I read in another post that queries on posts are not supported currently with Infinite Scroll, but I just want my tagged posts to load in ascending order (by date).
I have a tag.php file that I’ve thrown this in before the loop:
<?php query_posts($query_string . '&orderby=date&order=ASC') ?>
But when the infinite scroll activates, it loads the following posts in the descending order. Would there be a way to have the IS continue loading the posts in ascending order?The first problem can be seen on this page:
https://travels.bagelsound.com/
Example of the second problem can be seen on:
https://travels.bagelsound.com/tag/iceland/
- The topic ‘Infinite Scroll 403 Forbidden and also Post Queries’ is closed to new replies.