- 
		AuthorPosts
 - 
		
			
				
November 21, 2014 at 11:34 am #355017
Hi Yigit,
I have updated my enfold to the latest version and replaced the code you gave me to the functions.php:
add_filter(‘avia_post_nav_settings’,’avia_same_category_filter’, 10, 1);
function avia_same_category_filter($settings)
{
$settings[‘same_category’] = true;
return $settings;
}But this doesn’t seem to work anymore when I check the live site: http://www.growmybiz-canterbury.com/mentormatcher
Have a look, you’ll see that when you look through the mentor posts you’ll come to posts outside that category.
Please can you have a look for me? Thanks.
November 21, 2014 at 5:51 pm #355347Hey Krissie!
Do you mind creating a temporary admin login and posting it here privately so we can look into it?
Best regards,
YigitNovember 24, 2014 at 11:06 am #356646This reply has been marked as private.November 26, 2014 at 1:03 am #358075Hello,
Have you tried disabling all third-party plugins to see if it gets fixed?
Regards,
JosueNovember 26, 2014 at 9:26 pm #358554Hi Josue,
Why do I need to? It worked fine before I upgraded the theme to your latest version.
Thanks, :)
November 27, 2014 at 12:48 am #358697Hi!
Both WordPress and Theme were updated, one of the plugins may not be compatible. Please try de-activating all active plugins and check if that helps as Josue suggested.
Best regards,
YigitJanuary 23, 2015 at 12:36 pm #384310Hi guys,
I’ve just updated the Enfold theme and this code doesn’t work still.
add_filter(‘avia_post_nav_settings’,’avia_same_category_filter’, 10, 1);
function avia_same_category_filter($settings)
{
$settings[‘same_category’] = true;
return $settings;
}Please can you have a look?
Thanks,
January 26, 2015 at 7:41 pm #385768January 26, 2015 at 7:43 pm #385770Great! It works! What did you do? Thanks Yigit! :)
January 26, 2015 at 7:47 pm #385777 - 
		AuthorPosts
 
- The topic ‘Updated Enfold and now code doesn't work’ is closed to new replies.
 
