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

    #1258856

    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 – 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,
    Yigit

    #1259076
    This reply has been marked as private.
    #1259258

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

    #1260382

    Hello Yigit,

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

    Thanks a lot,
    Felix

    #1261024

    Hi,

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

    #1261338

    Hello 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 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.
    FYI

    Can you help?
    Thanks,
    FelixL

    • This reply was modified 4 years, 1 month ago by felixl.
    #1261807

    Hi,

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

    #1262475

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

    #1262629

    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.

    Greez
    Cedric Esser

    #1262692

    Hi,

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

    #1262836

    hi 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!
    felixl

    #1262919

    Hi felixl,

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

    Best regards,
    Nikko

    #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 4 years ago by rup.
    #1263176

    Hi Cedric Esser,

    You’re welcome and thank you as well :)

    Best regards,
    Nikko

    #1267075

    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

    #1267084

    Hi newmediologo,

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

    Best regards,
    Nikko

    #1267089
    #1267116

    Hi newmediologo,

    Yes, that’s correct :)

    Best regards,
    Nikko

    #1267128

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

    Thanks

    P,S, I’ve open a new thread here: https://kriesi.at/support/topic/pagination-in-blog-and-portfolio-not-working/

    #1267139

    Hi newmediologo,

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

    Best regards,
    Nikko

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