Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • @stijndewitt

    Participant

    Also, forgot to mention but I also have this (again modified from the example in the Skeleton):

    function bp_env_directory_setup() {
    	if (bp_is_env_component() && !bp_current_action() && !bp_current_item()) {
    		// This wrapper function sets the $bp->is_directory flag to true, which 
    		// helps other content to display content properly on your directory.
    		bp_update_is_directory(true, 'env');
    
    		// Add an action so that plugins can add content or modify behavior.
    		do_action('bp_env_directory_setup');
    
    		bp_core_load_template(apply_filters('env_directory_template', 'env/index'));
    	}
    }
    add_action('bp_screens', 'bp_env_directory_setup');

    @stijndewitt

    Participant

    Sorry for the formatting issues. I apparently made a formatting mistake and don’t see a way to edit my post…

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar