Tag Info

New answers tagged

0

I used the below code in the end. Hope someone finds this useful. /* Display only user-uploaded files to each user in Media Library for file upload form*/ function user_restrict_media_library( $wp_query_obj ) { global $current_user, $pagenow; if( !is_a( $current_user, 'WP_User') ) return; if( 'admin-ajax.php' != $pagenow || ...


0

Are you using cpanel? There is an option where you can select a directory and change the indexing. Alternatively, you can create you own htaccess in those directories and add the following line: Options -Indexes Make sure you hit the ENTER key (or RETURN key if you use a Mac) after entering the "Options -Indexes" words so that the file ends with a blank ...


0

You might simply want to go to Settings > General. Here you can select the standard role a user gets, once he registers.


2

Usually it is bp-legacy-js. But if you place a buddypress.js in wp-content/themes/your-theme/buddypress/js/ this file will be taken instead. The handle will be bp-parent-js The same goes for CSS files, if you place them in /your-theme/buddypress/css/. If you place the buddypress.js in a childtheme, the handle will be bp-child-js.



Top 50 recent answers are included