Home Forums ASE Support Chapter 1 saying "Top" if Chapter component is not first on page…

This topic is: resolved
Viewing 3 posts – 1 through 3 (of 3 total)
  • Author

    Posts

  • #13682

    Reply

    James Krizan

    Participant

    Rather than use a Featured Image – I want to use a Parralax image at the top of my page. However, when I enter the following components my Chapter list goes 1. Top 2. “My first Chapter” 3. My second chapter” If I delete the Parralax component the Chapter list is fine. What am I goofing? Thanks in advanced!

    [aesop_parallax height="700px" img="https://94.249.236.31/russia/public_html/volt/wp-content/uploads/2016/10/14titlehorn.jpg" parallaxbg="fixed" caption="#14 - Библейский Призыв К Ученичеству" captionposition="bottom-left" lightbox="off" floater="on" floaterposition="left" floaterdirection="none"]

     

    [aesop_chapter title="Что и для чего?" bgtype="img" full="on" img="https://94.249.236.31/russia/public_html/volt/wp-content/uploads/2016/10/1dollmed.jpg" bgcolor="#888888" revealfx="off"]

    #13685

    Reply

    Hyun Supul

    Keymaster

    Hi James, this is the default and expected behavior of ASE. If the first chapter is not at the top ASE will add a “Top” entry.

    But there is a way to override this behavior for this and I will get back to you on that in a day or so.

    #13701

    Reply

    Hyun Supul

    Keymaster

    Hi James, you can add the following codes to your theme’s function.php (Or you can use a plugin that lets you insert custom PHP. There are many of them.)

    function my_function() {
        return "";
    }
    add_filter( 'aesop_chapter_top_text', 'my_function' );
    

    This sets the “Top” text used by the Chapter menu to null string. This in turn cause the chapter menu to remove the top entry. You need the latest version of ASE (1.9.5.1)

    • This reply was modified 4 years, 5 months ago by Hyun Supul.

Viewing 3 posts – 1 through 3 (of 3 total)
Reply To: Chapter 1 saying "Top" if Chapter component is not first on page…