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

    Hi.

    At the end of each post I put a slider with related post by category.
    I select “offset – not duplicated post in whole page” but the post of the page appears in the slider.

    Could you help me please?
    Thank you.

    #847224

    Any help please?

    #847258

    Hi,
    Please update to the latest version, it looks like you are using v3.8
    Try to update manually via FTP: https://vimeo.com/67209750
    Or: http://kriesi.at/archives/the-complete-guide-to-updating-enfold
    I recommend backing up with: https://wordpress.org/plugins/duplicator/

    Best regards,
    Mike

    #850131

    Hi Mike.

    I have upload the theme, thanks a lot for your help.

    But the problem still appearing.
    Could you help me please?

    Thank you again.

    #850583

    Hi vmoralestejedor,

    Have you flushed the caches after the update?

    Best regards,
    Victoria

    #851498

    Hi.

    How can I do it?

    I have Total Cache configured, maybe it helps.

    Thank you.

    #851501

    I have deleted all cache in W3 Total cache but the issue still appearing.

    Could you help me please?

    Thank you.

    #851958

    Any help please?

    Thank you.

    #852399

    Hi,

    We are very sorry for the late response. Please add this query filter in the functions.php file to exclude the current post.

    
    add_filter('avia_post_slide_query', 'avf_custom_post_grid_query');
    function avf_custom_post_grid_query ( $query ) {
      if(is_singular('post')) {
          global $post;
    
          $query['post__not_in'] = array($post->ID);
      }
      return $query;
    }

    Best regards,
    Ismael

    #852495

    Thank you Ismael but is not working, example in private section.

    Could you help me please?
    Thank you.

    #852808

    Hi,

    Where did you add the code? I can’t find it in the functions.php file.

    Best regards,
    Ismael

    #852967

    I put your code in functions.php and my blog BROKE!!!

    Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /var/www/html/wp-content/themes/enfold/functions.php on line 571

    I have reset functions.php

    #853712

    Hi,

    Please copy the code directly from this forum and not from your email.

    Best regards,
    Ismael

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