Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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 advance

    #1000369

    Hey farangsamui,

    Did the element appear in the Advanced Layout Builder when you added the code to the functions.php?

    Best regards,
    Victoria

    #1000471

    No, I do not know how to add it

    Thanks Victoria

    #1001259

    Hi,

    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,
    Yigit

    #1001447
    This reply has been marked as private.
    #1001565

    Hi 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,
    Victoria

    #1001864
    This reply has been marked as private.
    #1001952

    Hi 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,
    Victoria

    #1002923
    This reply has been marked as private.
    #1003745

    Hi,

    Can I ask why do u need anchors? What are you using them for?

    Best regards,
    Basilis

    #1003856
    This reply has been marked as private.
    #1004444

    Hi,
    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

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.