-
AuthorPosts
-
September 18, 2016 at 2:39 pm #688120
Hi,
I tried this solution: https://kriesi.at/support/topic/avia-post-nav-with-the-same-category/
But it doesn’t work :( http://simone-engelen.com/portfolio-item/ed-it/ there should be only 1 other portfolio item in the same category and it’s showing others.Am i missing something?
September 18, 2016 at 3:53 pm #688138Hey Rhodo,
Please elaborate the issue. We need to take a closer look Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
Login credentials include:
- The URL to the login screen.
- A valid username (with full administration capabilities).
- As well as a password for that username.
- permission to deactivate plugins if necessary.
Best regards,
VinaySeptember 18, 2016 at 5:42 pm #688155by the way i got this code for me to work well:
add_filter( 'avia_post_nav_settings', 'enfold_customization_same_cat' ); function enfold_customization_same_cat( $s ) { $s['same_category'] = true; return $s; }
September 18, 2016 at 5:46 pm #688156Hi,
Thanks for the code. I tried it but it still doens’t work :(
September 18, 2016 at 5:49 pm #688157Thank you Vinay,
I pasted the code in the functions.php and im expecting the navigation on a single portfolio item page to only show items from the same category. Which it doesn’t right now.
Below i will paste the credentials.
Thanks in advance!
September 22, 2016 at 9:25 pm #690412Hi,
Sorry for the late reply. We updated the filter code in the functions.php file to the below code.
//Post nav with same catogery 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 check the site if you have any question feel free to get back to us.
Best regards,
VinaySeptember 22, 2016 at 10:01 pm #690424hm – isn’t it the same code as mine?
only the filter name differs
avia_same_category_filter instead of enfold_customization_same_cat
and
$settings instead of $s- This reply was modified 8 years, 1 month ago by Guenni007.
September 24, 2016 at 7:37 am #691097Hi,
Yes almost the same but not sure why that did not make any changes on the site tho.
Best regards,
VinaySeptember 24, 2016 at 9:26 am #691112thats why i’m astonished – on my sites it works well ! (WP4.61 Enfold 3.8)
October 5, 2016 at 2:11 pm #695480Hi,
Well it’s still not working on my site: http://simone-engelen.com/portfolio-item/ed-it/ Here you shoudl only find BOOKS. And there’s only two. In the navigation still other entries show up.
Is there any way this is fixable?
Thanks in advance!
October 10, 2016 at 3:39 pm #697406Hi,
Please update the theme to the latest version. That should fix any issues you are currently experiencing :)
To update to the latest version follow the simple instructions here. (Or if you want the super detailed explanation you can read this blog post)
If that does not help, feel free to reply here and we will take a closer look at the issue. In that case please also add your WordPress login credentials (in the “private data” field) so we can take a look at your admin area
Best regards,
AndyOctober 13, 2016 at 11:45 am #698667Hi Andy,
Even after the update it’s still not working :(
I posted the login earlier. Could you please have a look? thx!
October 17, 2016 at 5:01 am #699766Hi,
The filter is not working because of the following plugins.
// Post Types Order
// Simple Custom Post OrderPlease disable the plugins if you want the navigation to filter items from the same category.
Best regards,
IsmaelOctober 17, 2016 at 11:34 am #699889Hi Ismael,
That did the job! Thanks so much!
October 18, 2016 at 9:43 am #700504 -
AuthorPosts
- You must be logged in to reply to this topic.