WordPress.org

Support

Support » Plugins and Hacks » Jetpack by WordPress.com » [Resolved] Infinite Scroll won't work if I rename Twenty Twelve Theme

[Resolved] Infinite Scroll won't work if I rename Twenty Twelve Theme

  • Jason Paul

    @jasontrasaterracom

    I’m using Twenty Twelve as a base. I’m really excited about the Infinite Scroll. The problem is that when I change the name of Twenty Twelve so I can safely rework the theme, Infinite Scroll ceases to work. Any reason why this would be the case? How does one get Jetpack Infinite Scroll working in a theme?

    http://wordpress.org/extend/plugins/jetpack/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Jason Paul

    @jasontrasaterracom

    Nevermind, I saw the tutorial. What I don’t understand is why does Infinite Scroll work out of the gate with the Default Twenty Twelve theme but not an exact Duplicate?

    Plugin Contributor designsimply

    @designsimply

    Member

    It’s probably because of how the supporting CSS is linked between the default themes (like Twenty Twelve) and Jetpack. If you literally duplicate the theme, you may just need to be careful to update the references to the css properly.

    If you make a Twenty Twelve child theme instead and you’re using at least Jetpack 2.0.2, then infinite scroll should just work in the child theme without any extra edits at all.

    Jason Paul

    @jasontrasaterracom

    Yep, it worked totally fine as a Child Theme. There’s been some talk of moving away from Childthemes among some WP devs…but running into something like this makes me think it’s better to stick with it…

    Plugin Contributor designsimply

    @designsimply

    Member

    It’s interesting that there’s talk about moving away from them. I’m not sure moving away from child themes is good or bad. I think it totally depends on the theme and the use case.

    Whether you choose a duplicate theme vs a child theme depends on a few things such as how much you are changing the theme and whether or not you want to get the benefit of the theme author’s updates.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Infinite Scroll won't work if I rename Twenty Twelve Theme’ is closed to new replies.
Skip to toolbar