Home › Forums › ASE Support › Chapter 1 saying "Top" if Chapter component is not first on page…
- This topic has 2 replies, 2 voices, and was last updated 4 years, 5 months ago by
Hyun Supul.
-
AuthorPosts
-
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"]KeymasterHi 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.
KeymasterHi 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.
-
This reply was modified 4 years, 5 months ago by
-
AuthorPosts