
Similar Posts
How to update BuddyPress cover image size?
How to update BuddyPress cover image size? Just copy and paste the codes below to your functions.php add_filter( ‘bp_before_xprofile_cover_image_settings_parse_args’, ‘swifter_xprofile_cover_image’, 10, 1 ); function bp_legacy_theme_cover_image_css_2( $settings = array() ) { $theme_handle = ‘bp-child-css’; $settings[’theme_handle’] = $theme_handle; $settings[’callback’] = ‘bp_legacy_theme_cover_image_2’; return $settings; } function bp_legacy_theme_cover_image_2( $params = array() ) { if ( empty( $params ) )…
Add extra body classes
# BODY CLASS ADD ONS add_filter(‘body_class’, ‘extra_body_class’); function extra_body_class($classes) { global $wp_query; // Add current slug on body class $current_id = $wp_query->post->ID; $post = get_post($current_id); $slug = $post->post_name; $classes[] = ‘body-‘.$slug; $classes[] = sanitize_html_class( str_replace( ‘.’, ‘-‘, get_page_template_slug( $current_id ) ) ); return $classes; }

Run jQuery script to console
var jq = document.createElement(‘script’); jq.src = "//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"; document.getElementsByTagName(‘head’)[0].appendChild(jq); // … give time for script to load, then type. jQuery.noConflict();
How to create a new Buddypress menu item in profile page?
Copy this code to your functions.php file add_action( ‘bp_setup_nav’, ‘wdes_bp_add_nav_item’, 100 ); function wdes_bp_add_nav_item(){ // Add music page in my profile menu item bp_core_new_nav_item( array( ‘name’ => ‘My Music’, ‘slug’ => ‘my-music’, ‘default_subnav_slug’ => ‘sub-music’, ‘screen_function’ => ‘my_music_screen_function’, ‘show_for_displayed_user’ => true, ‘position’ => 160 ) ); // Add upload music page in my profile menu…
Warning: set_time_limit(), Fatal error: session_start()
Having trouble of this errors? Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /home/wwwcreat/public_html/wp-content/plugins/wp-post-corrector/wp_export.php on line 12 Warning: session_start() [function.session-start]: SAFE MODE Restriction in effect. The script whose uid is 610 is not allowed to access /tmp owned by uid 0 in /home/sitename/public_html/wp-content/plugins/custom-field-suite/includes/classes/form.php on line 42 Fatal error: session_start() [function.session-start]: Failed to…
How to track your password to be sent in your notification?
Using Gravity Form, before I having a hard time getting the `Password` value to be included in my notification email. I have read this post How to Include a Password Field in a User Notification with Gravity Forms but it seems not working perfectly to my end. I have created an alternative way of tracking…
Many thanks if you are so kind to fairly share this information.