WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Infinite Scroll won't work if I rename Twenty Twelve Theme (5 posts)

  1. Jason Paul
    Member
    Posted 1 year ago #

    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/

  2. Jason Paul
    Member
    Posted 1 year ago #

    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?

  3. designsimply
    Member
    Plugin Contributor

    Posted 1 year ago #

    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.

  4. Jason Paul
    Member
    Posted 1 year ago #

    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...

  5. designsimply
    Member
    Plugin Contributor

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.