Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1326728

    Hi,

    the layout builder element “Page Split” does not work properly.

    • The mouseover over the link “2” shows that a link to /permalink/2/ is planned.
    • But the link ends up at first /permalink/ again.
    • After switching off the WordPress URL auto-correction /permalink/2/ shows only 404 – Nothing found.
    • If you add in front of the element <!–avia_template_builder_nextpage–> a block of text with a wordpress <!–nextpage–> then the page change works properly.

    But I’m not really comfortable with this rustic workaround.

    Best Regards,
    Günter

    #1326923

    IHi,
    think there is some bug in the code. When changing from page 2 to page 1 the console shows the error
    GET https://www.domain/2/ 404 not found, even though the url should be https://www.domain/page/2/

    (Without additional WordPress nextpage https://www.domain/page/2/ would also be empty.)

    Regards,
    Günter

    #1326925

    Sorry, You need access, becaus the link is a privat post.

    #1327060

    Hi,

    Sorry for the late reply – and thank you for reporting this.

    I could locate the problem and fix it for most permalink structures.
    It should work for yours. Will be part of the next update.

    Meanwhile please replace enfold\config-templatebuilder\avia-shortcodes\page_split.php

    with the content of:

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_8_7/shortcodes/page_split.php

    Do not forget to make a backup of the original file for a fallback and clear server and browser cache.

    If you need help let us know and we can do it for you.

    Best regards,
    Günter

    #1327167

    Hi Günter,
    unfortunately, the new page_split.php does not have the desired effect:

    • The page links are not displayed.
    • The following page /page/2/ shows a 404 error.
    • The shortcodes in the layout builder no longer work.
    • The previous workarround with nextpage + avia_template_builder_nextpage no longer works either.

    Before: https://www.dropbox.com/s/lql5pfvu6t5y2vs/before.jpg?dl=0
    After: https://www.dropbox.com/s/vcq4jhosgf7knrl/after.jpg?dl=0
    (A Portfolio page)

    Best regards,
    Günter

    #1327472

    Hi,

    Sorry the fix did not work.

    As this element is only accessible via add_theme_support we did not get any reports up to now.

    I will have to rewrite the complete logic as WP has changed some backend logic in pagination with 5.5.

    I will let you know here when it is ready.

    Best regards,
    Günter

    #1327495

    Hi,

    Updated version:

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_8_7/shortcodes/page_split.php

    Can you check please.

    You can remove add_theme_support and it should work without your workaround with nextpage.

    Best regards,
    Günter

    #1327499

    Hi,

    the updated version doesn’t work either. But the workaround works well.

    With WP-nextpage alone you can see the end tag of the container in which –nextpage– is placed on the following page [/code, text, …]

    Thank you for your efforts,
    Günter

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