How to fix Avada themes WP Memory Limit using Godaddy cpanel.

If you encountered the same error just like the image above, just follow this instructions.
Open your wp-config.php in cpanel and add this code.
define( 'WP_MEMORY_LIMIT', '128M' );
How to add @mention in Buddypress single media page (or rtMedia single page)? Copy the codes below to your functions.php add_filter( 'bp_get_activity_content', 'filter_bp_get_activity_content', 10, 1 ); function filter_bp_get_activity_content( $content ) { global $bp, $wpdb; $mention_link = ''; $mention_dummy = ''; $at_all = array(); $at_mention = ''; $at_space = ''; $at_text = ''; $mention_dummy = $content;…
[round-to-the-nearest-number]
Warning: rmdir( … ), No such file or directory Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home/username/public_html/wp-includes/meta.php on line 1078 You might interested to check this error master Gravity Forms Media Upload Field for BuddyPress Complete Tutorial Also offering hosting and domain registration, chep but trusted –…
Check the links below for references to answer the question “How to redirect WordPress login/logout to custom page?” Use this https://codex.wordpress.org/Plugin_API/Filter_Reference/login_redirect for login redirect. Use this https://codex.wordpress.org/Plugin_API/Filter_Reference/logout_url for logout redirect.
Change WordPress default email notification. Mostly used in new user registration, the default is `WordPress <wordpress@yourdomain.com>`. In my case I want to change the WordPress Name to my domain name. The output will be `Anthony Carbon <info@anthonypagaycarbon.com>`. The codes below will complete your tasks. add_filter( 'wp_mail_from', 'default_wp_mail_from' ); function default_wp_mail_from( $from_email ){ if( $from_email ==…
Remove subcategory count. add_filter( 'woocommerce_subcategory_count_html', function(){ return ''; }); Change the number of loop shop columns. add_filter( 'loop_shop_columns', function(){ $cat_obj = get_queried_object(); $cat_id = $cat_obj->term_id; if( get_woocommerce_term_meta( $cat_id, 'display_type', true )== 'subcategories' ){ return 3; }else{ return 4; } }); Change the number of loop shop columns css. Just add a class on the body…