• Resolved Bj123

    (@bj123)


    Hi there,

    I installed this on my Boss theme and on the group directory page with the search box at the top right it only shows one lengthy search box but not the group types. I used the inspector to check whether the group type selector is just hidden or the like but could not find anything at all referencing to the group types. Do you know how to make the group type selector visible with the Boss theme?

    Thanks.

    WP 4.7/BP 2.7.3/Boss 2.3.0

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author wbcomdesigns

    (@wbcomdesigns)

    Hi @bj123,
    Please make sure you’ve created the Group Types to make them list while searching them.
    You can use this plugin ( BP Create Group Types ) to create group types from admin panel.

    If still you find some problem in doing the needful, feel free to message here.
    Thanks!

    Thread Starter Bj123

    (@bj123)

    Yes, of course I had more than 10 group types created with your BP Group Types plugin. The group types work fine but I can’t search for them. It doesn’t show the group types selector next to the search field on the groups directory on the Boss theme. And the Buddyboss global search doesn’t catch the group types either. Maybe some conflict with BB Global Search?

    Plugin Author wbcomdesigns

    (@wbcomdesigns)

    @bj123

    It’s Boss specific issue,
    Copy boss/buddypress/groups/index.php to
    boss-child at same path and

    Replace line 29

    <?php bp_get_template_part( 'common/search/dir-search-form' ); ?>

    with

    
    	<?php /* Backward compatibility for inline search form. Use template part instead. */ ?>
    	<?php if ( has_filter( 'bp_directory_groups_search_form' ) ) : ?>
    
    		<div id="group-dir-search" class="dir-search" role="search">
    			<?php bp_directory_groups_search_form(); ?>
    		</div><!-- #group-dir-search -->
    
    	<?php else: ?>
    
    		<?php bp_get_template_part( 'common/search/dir-search-form' ); ?>
    
    	<?php endif; ?>
    Thread Starter Bj123

    (@bj123)

    Thanks so much for the code! It’s indeed working now. It needed some custom styling to fit the theme but it works and looks perfect now. Very nice.

    Plugin Author wbcomdesigns

    (@wbcomdesigns)

    @bj123 Thanks for your feedback.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Group types selector not showing on the search field’ is closed to new replies.