OakwoodGates
Forum Replies Created
-
Thanks for the link?
Not sure what the “?” is for?
Here’s the link again 🙂Did you use the same method to embed the Instagram image in all posts?
Yes, I used the same method for each post. In this example, I simply pasted the url – https://www.instagram.com/p/BEZcuzAv_tc/ – into the text editor. I have tried the embed shortcode and the instagram shortcode (from jetpack) with the same results.
Thanks again for looking!
Here is an example of the issue. I’ll keep that subdomain up and untouched for a while.
You will notice – Posts load, infinite scroll fires, new posts (and ig embeds) load, infinite scroll fires, new ig embeds fail.
Let me know if you have any questions.
Thanks for looking!
On another look, it looks like the issue is a little different than this.
The issue only happens if there are more than one posts with an instagram embed.
Forum: Fixing WordPress
In reply to: Posts with a certain category not visible on staticIf you are in the wp-admin->Posts->Categories, and click on the category, then take a look at the url in the browser. Somewhere in that url, you should see something like ID=46 (or whatever).
Does that make sense?
Forum: Fixing WordPress
In reply to: Posts with a certain category not visible on staticYou could do something like this:
function exclude_category($query) { if ( $query->is_home() ) { $query->set('cat', '-46'); } return $query; } add_filter('pre_get_posts', 'exclude_category');where 46 is the ID of the category you want to exclude.