Skip to:
Content
Pages
Categories
Search
Top
Bottom

Cover Image Options Not Available in BuddyPress Setttings


  • ndh01
    Participant

    @ndh01

    The two options: Group Cover Image Uploads & Cover Image Uploads checkboxes do not show up in admin->settings->BuddyPress->Options when my custom theme is active (created before cover images existed natively in BP). However when switching to 2015 theme, I see the options available. Obviously this is a theme issue, but not sure why it would not show up on my theme.

    Thanks for your help!

Viewing 1 replies (of 1 total)

  • ndh01
    Participant

    @ndh01

    I found I have to declare it in my theme as noted here https://buddypress.trac.wordpress.org/ticket/6570:

    bp_set_theme_compat_feature( 'legacy', array(
    	'name'     => 'cover_image',
    	'settings' => array(
    		'components'   => array( 'xprofile', 'groups' ), /* or you can only use array( 'xprofile' ) to restrict the cover image to users */
    		'width'        => 1170,
    		'height'       => 225,
    		'callback'     => 'swifter_theme_cover_image', /* function that will return to BuddyPress the css to attach to the theme_handle */
    		'theme_handle' => 'swifter',
    	),
    ) );
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar