Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author hyunster

    (@hyunster)

    Hi which theme are you using? Do you have a URL I can look at? I will try to fix it as soon as I can if you can point it to me.

    Plugin Author hyunster

    (@hyunster)

    Please try 1.6.12

    Thread Starter Brian Cruikshank

    (@brianbws)

    Hi, I’m using custom theme and it’s on a development environment so no link, unfortunately.

    1.6.12 brought the chapter menu back, but without chapters. See https://github.com/hyunsupul/aesop-core/issues/302

    Plugin Author hyunster

    (@hyunster)

    I am sorry about breaking it. But I believe you can fix it in a couple of ways at this point.

    1. Add aesop-entry-header class to the post class. This is what Longform theme does so I followed that convention. So the current Aesop codes is a little confused about where to look for aesop-entry-header class so didn’t use it. This is an error that I will try to fix it.
    2. add the following filter to functions.php
    add_filter(‘aesop_chapter_scroll_container’, ‘aesop_entry_header’);

    The second way would be the recommended way in long term. But please let me know if either fixes the issue. Thank you.

    Plugin Author hyunster

    (@hyunster)

    Sorry I meant aesop-entry-content, not aesop-entry-header
    like this

    add_filter(‘aesop_chapter_scroll_container’, ‘aesop_entry_content’);

    function aesop_entry_content() {
    return ‘.aesop-entry-content’;
    }
    If you want to ever use Timeline it’s also recommended to add
    add_filter(‘aesop_timeline_scroll_container’, ‘aesop_entry_content’);

    Thread Starter Brian Cruikshank

    (@brianbws)

    Yes. adding that filter fixed it, though now it again lists chapter 1 twice.

    On the timeline component. It seems to work, but the timeline only shows up when I scroll to the very bottom of the article. Not sure if that’s how it’s supposed to work or not.

    Plugin Author hyunster

    (@hyunster)

    Hi please try setting the filter return to ‘.inner-info’ instead

    Plugin Author hyunster

    (@hyunster)

    I verified that chapter component works with generic themes like Twenty Fifteen as well as themes like Longform. So I think the component works but just needs a right setting.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Chapter menu broken in 1.6.10 – 1.6.11’ is closed to new replies.