-
AuthorPosts
-
August 22, 2018 at 12:38 pm #1000271
I need to split the content into some pages on Enfold theme but the shortcode “<!–nextpage–>” doesn’t work and even
“Page 1
<!–nextpage–>
Page 2”
I read something about a file page_spli.php and shortcode called “av_sc_page_split” but I really do not know how to enable the “add_theme_support(‘avia_template_builder_page_split_element’)” in function.php of child theme
Please, someone can help me?
Many thanks in advanceAugust 22, 2018 at 2:53 pm #1000369Hey farangsamui,
Did the element appear in the Advanced Layout Builder when you added the code to the functions.php?
Best regards,
VictoriaAugust 22, 2018 at 6:52 pm #1000471No, I do not know how to add it
Thanks Victoria
August 24, 2018 at 2:49 pm #1001259Hi,
Please go to Appearance > Editor and edit Functions.php file and add following code to bottom of the file and save
add_theme_support('avia_template_builder_page_split_element');
Best regards,
YigitAugust 25, 2018 at 3:26 am #1001447This reply has been marked as private.August 25, 2018 at 10:53 am #1001565Hi farangsamui,
What do you mean not with the anchors? Can you please explain what you’re trying to achieve and what is not working now?
Best regards,
VictoriaAugust 26, 2018 at 1:06 pm #1001864This reply has been marked as private.August 26, 2018 at 7:33 pm #1001952Hi farangsamui,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaAugust 29, 2018 at 12:55 am #1002923This reply has been marked as private.August 30, 2018 at 6:55 pm #1003745Hi,
Can I ask why do u need anchors? What are you using them for?
Best regards,
BasilisAugust 31, 2018 at 2:32 am #1003856This reply has been marked as private.September 1, 2018 at 6:56 pm #1004444Hi,
I understand that at first you were using the WordPress default editor and when you added your page breaks your anchor links didn’t point to the right pages anymore, to correct you will need to adjust the links in your table of contents, because they needed to point to a different page. Here is and example:<a href="#Anchor2">Fish & Seafood</a> <a href="?your-page&page=2#Anchor3">Poultry</a> <a href="?your-page&page=3#Anchor4">Meat</a>
Note how the first link doesn’t have the page added, because it is pointing to the anchor on the same page, where the others need to point to other pages.
If you want to use the advanced layout builder you will need to break your content into your pages and manually create them.
Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.