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' );
jQuery( '.nav-primary .menu' ).children().each( function( index ){ jQuery( this ).children().not( 'ul' ).css({ 'float': 'left', 'padding-left': '0', 'padding-right': '0' }); }); jQuery( '.nav-primary .menu' ).css({ 'float': 'left' }); setTimeout( function(){ var wrap_width = jQuery( '.nav-primary .wrap' ).width(); var menu_width = jQuery( '.nav-primary .menu' ).width(); var remainder_width = parseInt( wrap_width ) – parseInt( menu_width ); var count_child…
How Convert string with unwanted character to slug, proper name, etc.? Try this code using http://phptester.net/. // Example 1 function cleantitle($string){ $string = str_replace(' ', '-', $string); $string = preg_replace('/[^A-Za-z0-9\-]/', '-', $string); return preg_replace('/-+/', ' ', $string); } $str_1 = 'Menstruation_Sisters_-_14'; echo cleantitle($str_1); // output will be "Menstruation Sisters 14" // Example 2 function cleantitleslug($string){…
Add BCC email in Woocommerce new order via product post meta? How to do that? Create a custom field with a meta_key of ’email_address’ and put the codes to your functions.php add_filter( 'woocommerce_email_headers', 'mycustom_headers_filter_function', 10, 2 ); function mycustom_headers_filter_function( $headers, $object ) { if( $object == 'new_order' ){ global $woocommerce; $cart = $woocommerce->cart; if(!empty($cart)){ $group…
Page Settings In every popup created, each of them has a dedicated page settings that applies only that specific popup. You can setup an awesome popup using this features. [wdes-popup-title id=”1603″ class=”button”] Shortcode attributes Popup Title Shortcode attributes id – (required) This is your popup ID, without this, the popup will not work. class –…
How to get the parameter value or key value on the the window location (page URL)? If you have this URL “examplesite.com/?debug=1” and thinking how to get the value of debug parameter, the codes below is the answer. jQuery( document ).ready( function($){ // Example URL is examplesite.com/?debug=1 var getPostValue = function getPostValue(key) { var pageURL…
How to Zoom in effects in hover? Copy the HTML / CSS structure and paste it into your editor. Example: HTML <a class="zoom-in-hover" href="#"> <span class="group"> <img src="https://www.anthonypagaycarbon.com/wp-content/plugins/wordpress-popular-posts/no_thumb.jpg" alt="Zoom in effects in hover" /> </span> </a> CSS .zoom-in-hover { overflow: hidden; display: inline-block; text-align: center; } .zoom-in-hover .group { -webkit-transition: all 0.3s ease-in-out; -moz-transition: all…