Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
  • #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,


    Hey 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 –

    Our devs already fixed the issue and it will be included in upcoming version – :)

    Best regards,

    This reply has been marked as private.

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


    Hello Yigit,

    flush Cache didn´t helped.
    Below the Credentials for Login WP and FTP.

    Thanks a lot,



    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,


    Hello Ismael,

    thanks for your Feedback.
    I´ll be waiting.

    now another Problem:
    at the Homepage the following is visible:
    …/config-templatebuilder/avia-shortcodes/av-helper-slideshow.php on line 468

    I´ve edited the wp-config to:
    define(‘WP_DEBUG’, false);
    define(‘WP_DEBUG_DISPLAY’, false);
    Now you can´t see anymore the Bug.

    Can you help?

    • This reply was modified 3 years, 5 months ago by felixl.


    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,


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


    I 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.

    Cedric Esser



    Can you try the solution posted on this thread: ?
    Hope it helps.

    Best regards,


    hi nikko, hi rup,

    @ rup: thanks for that.
    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!


    Hi felixl,

    We have already reported this to our devs and it will be fixed in the next release :)

    Best regards,


    @Nikko awesome news! thx :-)

    : 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, 4 months ago by rup.

    Hi Cedric Esser,

    You’re welcome and thank you as well :)

    Best regards,


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


    Hi newmediologo,

    Please do the suggestion above.
    The issue will be resolved on the next release of Enfold but not on WordPress.

    Best regards,


    Hi newmediologo,

    Yes, that’s correct :)

    Best regards,


    HI 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..


    P,S, I’ve open a new thread here:


    Hi newmediologo,

    Thanks for creating a new thread, we’ll continue the discussion there.

    Best regards,

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