Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1073440

    We have about 150 Masonry Galleries on our website, all of which are going to a 404 error page when user clicks the pagination link.

    All of these galleries in posts (another user has reported the same issue within galleries that are in portfolio items). The issue for us is exactly the same, only our galleries are in posts.

    Enfold is appending this extra code to the link URL:
    " class="post-page-numbers
    Possibly there is some broken code elsewhere in Enfold that is causing this to be added to the otherwise valid URL.

    When can this bug be fixed?

    It also seems that an issue that I reported long ago is still not fixed within Enfold, even though there have been multiple updates since. Specifically, our galleries are roughly halfway down the page (posts). When a user clicks on the pagination links, Enfold takes them to the top of the page again and they have scroll all the way down the page to the gallery. This is terrible usability, and was reported to us by our users and members.

    #1073798

    Can someone from the Enfold team have a look at this please?

    @Rikard
    this is the post that I opened for this issue. Login details are included.

    #1073891

    Hi mikehartrich,

    Thanks for opening a new thread and for the login details. We’re looking into the problem but we don’t have a solution yet I’m afraid. I’ve tagged the responsible developer for the thread.

    Best regards,
    Rikard

    #1074074

    Good Afternoon,

    After the last update (4.5.4) I’m also having this issue. When using the Masonry Galleries “display pagnation” option you receive a “%20class=”post-page-
    numbers” error resulting in a 404 page not found error.

    This is crippling my website as it’s primarily made of Masonary Galleries

    Hope that a solution is being worked on

    thanks

    Funk

    • This reply was modified 5 years, 2 months ago by funk_doobie.
    #1074204

    @Rikard is there any ETA for a fix to this problem?

    #1074547

    Hi,

    I’ve got the exact same issue and it occurred right after the recent WordPress update (5.1). The extra code that has been added (class=”post-page-numbers’) is not broken Enfold code. It’s been added via the _wp_link_page function on line 931 of function-set-avia-frontend.php (found in enfold > framework > php). This function is called from post-template.php found in wp-includes. I compared post-template.php of the older WordPress version with the new one and there’s a difference:

    line 911 (old):
    return '<a href="' . esc_url( $url ) . '">'; 
    
    line 1035 (new): 
    return '<a href="' . esc_url( $url ) . '" class="post-page-numbers">';

    Removing the extra code (class=”post-page-numbers’) in post-template.php solved the problem. But there’s probably another workaround that should be considered in a new Enfold update.

    Regards,
    Jef

    • This reply was modified 5 years, 2 months ago by jvingerhoets.
    #1074551

    @jvingerhoets
    thanks for the valuable info appreciate it

    #1074645

    Hi everyone,

    Sorry for the problem. Please try to replace the function-set-avia-frontend.php file under enfold/framework/php with this one: https://www.dropbox.com/s/b4jsispxh2a5p17/function-set-avia-frontend.php?dl=0, or you could try to downgrade WordPress to 5.0.3.

    Best regards,
    Rikard

    #1074658

    Just replaced the file……..confirmed working
    thank you @Rikard

    #1074699

    Thanks @Rikard. I have implemented that fix and it works.

    Can you confirm that the next release of Enfold will have incorporate this fix?

    Thanks
    Donna

    #1074755

    Hi,

    It’s work perfect and solved this issue. thank you Rikard. but i have QA is any body have problem with pagination like page/52/ don’t exist and don’t show 404 page? it’s happen in my site and see this issue at https://kriesi.at/themes/enfold-2017/portfolio/page/52/ that don’t show 404 page. It’s really important problem for website SEO. I create a separate topic for this if any one have this issue and solved it please share it on this topic below:

    https://kriesi.at/support/topic/problem-on-page-do-not-have-a-pagination/

    Thank You.

    #1075113

    Yoursefzade, that is a different issue, you should open your own topic for that and include your site details so they can take a look. I am not an Enfold developer nor moderator on this forum, but I know that they will ask you to do that. Otherwise they may not be able to help you.

    #1075288

    Hi!

    Glad it is fixed. We’ll close this thread now.

    @Yoursefzade: Please continue here: https://kriesi.at/support/topic/problem-on-page-do-not-have-a-pagination/#post-1074929

    Best regards,
    Ismael

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Masonry Gallery Issue in Enfold 4.5.4’ is closed to new replies.