Skip to:
Content
Pages
Categories
Search
Top
Bottom

index-action-admin Groups Custom Template from hierarchy.


  • hellojesse
    Participant

    @egyptimhotep

    for Groups, this template hierarchy works but with some notices:

    NOTICE: wp-content/plugins/buddypress/bp-groups/bp-groups-template.php:2610 - Trying to get property of non-object
        require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/underscore/buddypress/groups/single/index-action-admin.php'), bp_group_admin_tabs
        
    NOTICE: wp-content/plugins/buddypress/bp-groups/bp-groups-template.php:775 - Trying to get property of non-object
        require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/underscore/buddypress/groups/single/index-action-admin.php'), bp_group_admin_form_action, bp_get_group_admin_form_action, bp_get_group_permalink
    
    NOTICE: wp-content/plugins/buddypress/bp-groups/bp-groups-template.php:448 - Trying to get property of non-object
        require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/underscore/buddypress/groups/single/index-action-admin.php'), bp_group_name, bp_get_group_name
    
    NOTICE: wp-content/plugins/buddypress/bp-groups/bp-groups-template.php:938 - Trying to get property of non-object
        require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/underscore/buddypress/groups/single/index-action-admin.php'), bp_group_description_editable, bp_get_group_description_editable
    
    NOTICE: wp-content/plugins/buddypress/bp-groups/bp-groups-template.php:335 - Trying to get property of non-object
        require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/underscore/buddypress/groups/single/index-action-admin.php'), bp_group_id, bp_get_group_id
Viewing 2 replies - 1 through 2 (of 2 total)

  • hellojesse
    Participant

    @egyptimhotep

    After submitting new details on page index-action-admin: http://local.wordpress.dev/groups/admin/edit-details/

    NOTICE: wp-content/plugins/buddypress/bp-groups/bp-groups-screens.php:869 - Trying to get property of non-object
    require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), call_user_func_array, bp_template_redirect, do_action('bp_template_redirect'), call_user_func_array, bp_screens, do_action('bp_screens'), call_user_func_array, groups_screen_group_admin_edit_details

    hellojesse
    Participant

    @egyptimhotep

    Same thing for theme Twenty Fifteen

    Into theme create /buddypress/groups/single/index-action-admin.php copy content from /buddypress/groups/single/admin.php with get_header() and get_footer()

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar