 
	
		
		
		
		
			
- 
		AuthorPosts
- 
		
			
				
December 25, 2023 at 1:44 pm #1428862Hello everyone 
 I have created a page here Link below: see belowThen I created a portfolio with two pages: 
 1 This gallery is private / category is set to private
 2 This gallery is public / category is set to publicSo far everything fits 
 Then I created two menu items: see below:When I open one of the two links the categories become visible correctly 
 but if I then open one of the two portfolio entries I can scroll to the other entryI don’t quite understand that 
 is it possible that I can only display the entries with the correct category?I hope you understand what I mean thanks 
 kind regards FranzDecember 25, 2023 at 3:13 pm #1428863but if I then open one of the two portfolio entries I can scroll to the other entry you belong to the post navigation arrows left and right. If those entries should stay only in the same category … 
 can you try this in your child-theme functions.php:add_filter('avf_post_nav_settings','enfold_customization_postnav', 10, 1); function enfold_customization_postnav($settings){ $settings['skip_output'] = false; $settings['same_category'] = true; return $settings; } add_filter('avf_post_nav_settings','enfold_customization_postnav', 10, 1);if it does not work . we can try a different way … December 25, 2023 at 10:24 pm #1428867hello Guenni007 
 I have inserted the filter into the functions.php
 Unfortunately it does not work !how is the other way thanks 
 kind regards
 FranzDecember 26, 2023 at 7:15 am #1428869first tell me if my suggestion from above is correct. 
 it belongs to the post-navigation left/right arrows? If you have opened a single post – there are left and right arrows to navigate to the other posts.
 And now you only want to reach other posts inside the same category ?And you put that filter to the child-theme functions.php ? try : maybe the is_fullwidth setting is only missing function enfold_customization_postnav($settings){ $settings['is_fullwidth'] = false; $settings['skip_output'] = false; $settings['same_category'] = true; return $settings; } add_filter('avf_post_nav_settings','enfold_customization_postnav', 10, 1);here is the github part showing the long version with comments on that filter: 
 https://github.com/KriesiMedia/enfold-library/commit/969ff37a8219fee349bb94fcfdbd28fd02d22713December 26, 2023 at 8:31 am #1428870Hello Guenni007 
 Thank you very much for your helpI have now adjusted the functions.php Yes, your suggestion is correct 
 when I open Portfolio
 I can now only browse through the individual categories.you can close this request kind regards 
 FranzDecember 26, 2023 at 10:08 am #1428873Hi, Great, I’m glad that @guenni007 could help you out :-) We’ll close this thread for now then. Please open a new thread if you should have any further questions or problems. Best regards, 
 Rikard
- 
		AuthorPosts
- The topic ‘only 1 category visible in the portfolio’ is closed to new replies.
