Tagged: Masonry Gallery
-
AuthorPosts
-
March 1, 2019 at 11:16 pm #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.
March 3, 2019 at 1:45 am #1073798Can 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.March 3, 2019 at 10:29 am #1073891Hi 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,
RikardMarch 3, 2019 at 11:35 pm #1074074Good 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, 8 months ago by funk_doobie.
March 4, 2019 at 7:34 am #1074204@Rikard is there any ETA for a fix to this problem?
March 4, 2019 at 11:36 pm #1074547Hi,
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, 8 months ago by jvingerhoets.
March 5, 2019 at 12:04 am #1074551@jvingerhoets
thanks for the valuable info appreciate itMarch 5, 2019 at 5:18 am #1074645Hi 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,
RikardMarch 5, 2019 at 5:36 am #1074658Just replaced the file……..confirmed working
thank you @RikardMarch 5, 2019 at 8:08 am #1074699Thanks @Rikard. I have implemented that fix and it works.
Can you confirm that the next release of Enfold will have incorporate this fix?
Thanks
DonnaMarch 5, 2019 at 10:17 am #1074755Hi,
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.
March 5, 2019 at 10:19 pm #1075113Yoursefzade, 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.
March 6, 2019 at 6:16 am #1075288Hi!
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 -
AuthorPosts
- The topic ‘Masonry Gallery Issue in Enfold 4.5.4’ is closed to new replies.