Jetpack Inifinite Scroll error in unaltered twenty twelve child theme
-
I have created an unmodified child theme of twenty twelve and wanted to activate jetpack infinite scroll in that child theme.
However, as you can see on https://www.tcgrafing.de/aktuell/, when you scroll down a bit, the infinite scroll hovering footer does not have the correct width and if you scroll down a few pages, you’ll see an “Older Posts” link appearing above one of the articles.
I can also send screenshots to anyone intersted.
Does anyone know why is this happening or how to investigate this error? If I activate jetpack infinite scroll in the parent theme twenty twelve, everything works fine.
Here is my style.css of the child theme
/* Theme Name: Twentytwelve Child Test Description: Test Child theme for the twentytwelve theme Author: me Template: twentytwelve */ @import url("../twentytwelve/style.css");
and here is my functions.php
<?php function twenty_twelve_infinite_scroll_init() { add_theme_support( 'infinite-scroll', array( 'container' => 'content' ) ); } add_action( 'after_setup_theme', 'twenty_twelve_infinite_scroll_init' );
Thank you in advance for your help.
- The topic ‘Jetpack Inifinite Scroll error in unaltered twenty twelve child theme’ is closed to new replies.