-
AuthorPosts
-
November 2, 2020 at 8:45 pm #1257691
hello there,
i´ve got the problem, that the portfolio pagination is not working.
i´m using wpml on that site.
tried already updating the permalinks and so on.
nothing helped until now.below some links as “private” to check this issue.
thanks a lot,
felixlNovember 6, 2020 at 1:33 pm #1258856Hey Felixl,
Could you please go to enfold/framework/php/ in Appearance > Editor and replace the content of function-set-avia-frontend.php file with this one – https://pastebin.com/LUue39RX
Our devs already fixed the issue and it will be included in upcoming version – https://kriesi.at/support/topic/enfold-upcoming-fixes/ :)
Best regards,
YigitNovember 7, 2020 at 9:50 pm #1259076This reply has been marked as private.November 9, 2020 at 2:11 pm #1259258Hi FelixL,
Please flush cache and check if that helps. If it does not, could you please create temporary admin logins and post them here privately so we can look into it? :)
Best regards,
YigitNovember 13, 2020 at 7:40 pm #1260382Hello Yigit,
flush Cache didn´t helped.
Below the Credentials for Login WP and FTP.Thanks a lot,
FelixNovember 17, 2020 at 3:22 pm #1261024Hi,
Thank you for the update.
The pagination is not working because the theme is using the default or global query for the portfolio category pages without the custom pagination query. We will report the issue to our channel for further inspection. We will let you know once we found a proper fix.
Best regards,
IsmaelNovember 18, 2020 at 5:37 pm #1261338Hello Ismael,
thanks for your Feedback.
I´ll be waiting.But:
now another Problem:
at the Homepage the following is visible:
…/config-templatebuilder/avia-shortcodes/av-helper-slideshow.php on line 468I´ve edited the wp-config to:
define(‘WP_DEBUG’, false);
define(‘WP_DEBUG_DISPLAY’, false);
Now you can´t see anymore the Bug.
FYICan you help?
Thanks,
FelixL- This reply was modified 4 years ago by felixl.
November 20, 2020 at 3:52 pm #1261807Hi,
We still do not know why the pagination is not working correctly, but we found out that the paged and page parameter is always set to 0, so the next set of posts are never retrieved from the database. Unfortunately, we are not sure why this is the case. Does it work correctly when WPML is disabled, or when the portfolio category base is set back to the default “portfolio_entries” instead of “p_entries”? Would you mind if we deactivate the plugins temporarily?
The notice in the front page is nothing critical or is not something that should cause errors in the site. Please keep the WP_DEBUG_DISPLAY to false for now to prevent the notice from appearing in the page.
Best regards,
IsmaelNovember 23, 2020 at 9:33 pm #1262475hi ismael,
well, i think there´s a huge problem right now.
yesterday i installed for a new customer a brand new wordpress/enfold installation.
links in pivate section.so as you can see:
even in blog (not portfolio) we have this issue.
you can jump on the button “2” (that works fine). but not back to “1” anymore.and i didn´t tuned anything until now.
i think it´s the same logic-bug.
+++
to your post above: i haven´t checked that today, but i´ll will it do tomorrow. i´ll let you know.
thanks a lot,
felixlNovember 24, 2020 at 12:05 pm #1262629I had the same issue, recognized today. A temporary workaround for me was to write a little jQuery/Javascript code to search for the current pagination position and edit the link to first. With code below, make sure to be inside jQuery(document).ready();
// define variables var $this = $(this), $pagination = $('.pagination-portfolio .pagination'), $pag_link = $pagination.find('a'), $pag_current = $pagination.find('.current'), $pag_current_text = $pag_current.text(); // check if pagination exists on current page if ($pagination.length) { // if pagination exists on current page, search for the current pagination position. // if current position has been found, we search for the sibling which has the current // pagination number in href and replace it with "1" $pag_current.siblings('a[href*="avia-element-paging='+ $pag_current_text +'"]').attr('href', function() { // here it is, where the magic happens this.href = this.href.replace('avia-element-paging='+ $pag_current_text, 'avia-element-paging=1' ); }); }
I hope the comments help to understand what I do with this little code. For me it totally works for now – but I think this should be fixed properly.
Greez
Cedric EsserNovember 24, 2020 at 3:07 pm #1262692Hi,
Can you try the solution posted on this thread: https://kriesi.at/support/topic/the-grid-with-products-does-not-work-pagination/#post-1254673 ?
Hope it helps.Best regards,
NikkoNovember 24, 2020 at 11:20 pm #1262836hi nikko, hi rup,
@ rup: thanks for that.
wow!
but for me this is a litte bit “to hard”.
could you post that workaround in:for the community?
and i hope enfold will have the solution in the next update.
thanks a lot guys!
felixlNovember 25, 2020 at 6:39 am #1262919Hi felixl,
We have already reported this to our devs and it will be fixed in the next release :)
Best regards,
NikkoNovember 25, 2020 at 9:24 am #1262947@Nikko awesome news! thx :-)
@felixl: I would love to, but as Nikko already said, the fix will be included properly with the next update :-) Therefore, I would leave the comment in here for possible future requests, but would not spread it further as THE solution. You know what I mean? :-) But I hope the solution Nikko published in the other thread helps you ✌🏼Kind regards
Cedric Esser- This reply was modified 3 years, 11 months ago by rup.
November 26, 2020 at 5:21 am #1263176Hi Cedric Esser,
You’re welcome and thank you as well :)
Best regards,
NikkoDecember 14, 2020 at 11:43 am #1267075Hi.. Just updated a site to WordPress 5.6 and portfolio pagination not working.. Clicking on page numbers it shows always the same page.. Any Idea..? Thanks
December 14, 2020 at 12:01 pm #1267084Hi newmediologo,
Please do the suggestion above.
The issue will be resolved on the next release of Enfold but not on WordPress.Best regards,
NikkoDecember 14, 2020 at 12:13 pm #1267089December 14, 2020 at 12:57 pm #1267116Hi newmediologo,
Yes, that’s correct :)
Best regards,
NikkoDecember 14, 2020 at 2:01 pm #1267128HI Nikko.. Replaced themes/enfold/framework/php/function-set-avia-frontend.php with the new one..
The blog pagination seem works fine but the the portfolio pagination does not works, flushed cache, try with different browsers but nothing change..
Thanks
P,S, I’ve open a new thread here: https://kriesi.at/support/topic/pagination-in-blog-and-portfolio-not-working/
December 14, 2020 at 2:11 pm #1267139Hi newmediologo,
Thanks for creating a new thread, we’ll continue the discussion there.
Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.