-
AuthorPosts
-
February 22, 2016 at 4:52 am #586806
Hi Rikard,
I am just opening a new thread as suggested on this post.As explained, I have the same problem as marcelwatchter and I have added the ‘Related posts’ section to a post by adding the ‘Blog Posts’ element to the bottom (as suggested). It’s showing all the related posts but it’s also showing the current post on that section. Is there a way I can avoid showing the current post on the ‘Related posts’ section? Please note that I have selected ‘Do not allow duplicate posts’ under the ‘Offset Number’ field, but it’s still showing the current post.
- This topic was modified 8 years, 9 months ago by LiquidBrand.
February 24, 2016 at 3:40 pm #588426Hey LiquidBrand!
this is not happening for me:
Please clear browser cache and hard refresh a few times. Check on another computer as well.
Best regards,
AndyFebruary 25, 2016 at 12:56 am #588698Hi Andy,
It’s not happening now (for this particular post) because I have been adding lots of other posts since then and I didn’t realise that it will affect this example. Sorry, my bad!
Well, this problem only happens to posts that falls on the first 6 posts on a category. See links below for another example.
- This reply was modified 8 years, 9 months ago by LiquidBrand.
February 25, 2016 at 12:36 pm #588993Hi!
ry to deactivate all plugins, to check if one is causing this issue and let us know about your results. If that does not help there might be some corrupted files, so please delete all theme files completely via FTP, before installing a fresh copy from your themeforest account: http://kriesi.at/documentation/enfold/install-enfold-over-ftp/
Best regards,
AndyFebruary 26, 2016 at 5:05 am #589556Hi Andy,
I have deactivated all the plugins and I’m still having the same problem. Before I go on to re-installing the theme files, can you please confirm that the problem that I am facing here is not due to the fact that I am using the ‘Advanced Layout Editor’ ?
February 26, 2016 at 11:55 am #589684Hi!
we can’t confirm that, as it would be almost impossible without knowing 100% the cause of the issue. It won’t take much time and you won’t loose any settings by deleting all theme files and replacing them afterwards with a fresh copy from your themeforest account.
Best regards,
AndyFebruary 29, 2016 at 4:16 am #590568Hi Andy,
I have just replaced all the theme files via FTP as suggested and I’m still having the same problem. Any idea what can I try next?
Kind regards,
ElainFebruary 29, 2016 at 2:20 pm #590741Hey!
please try this solution: https://kriesi.at/support/topic/removing-duplicate-blog-post-recommendations/#post-583642
Regards,
AndyMarch 1, 2016 at 1:05 am #591269Hi Andy,
I have added the code provided by Josue here on to my functions.php (under my child theme). I have also deactivated the Offset on the blog post element.
This has resolved the ‘duplication’ issue however, it somehow hides all my main blog pages & archives. See links below:March 3, 2016 at 2:40 am #592382Hi Andy/Josue,
I am just wondering if you guys had a chance to look at this problem at all? Can someone get back to me asap? Thanks.
Kind Regards,
ElainMarch 5, 2016 at 11:07 am #593693Hey!
We modified the code in the functions.php file a bit:
/* Removing duplicate blog post (Blog post element must not have offset activated) */ add_filter('avia_post_slide_query', 'enfold_customization_query_custom'); function enfold_customization_query_custom( $query ) { global $post; if ( is_single() ) { $query['post__not_in'] = array($post->ID); } return $query; }
It should fix the blog overview page issue.
Best regards,
IsmaelMarch 7, 2016 at 6:00 am #594069Thank you so much Ismael – That’s perfect! It’s all good now :)
Kind Regards,
ElainMarch 8, 2016 at 5:29 am #594787 -
AuthorPosts
- You must be logged in to reply to this topic.