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 display post edit links after content? Copy and paste the codes into your page template echo '<p class="alignright"><a class="button" href="' . get_edit_post_link( get_the_ID() ) . '">Edit Post</a></p>';
How to fix ajax POST /wp-admin/admin-ajax.php 500 (Internal Server Error)? I’m receiving this error in console when I’m about to call my ajax code backend. It appears to me that I am missing global variable in enable the code to work. See the wrong and correct coding below. It might be not the same issue…
Copy this this on your choosed templates. Locate a file code : locate_template( array( 'function-custom.php' ), true ); Require a file code : require_once( 'functions-custom.php' ); Include a file code : include( 'functions-custom.php' ); Get template functions-woocommerce.php Ex: get_template_part( ‘partials/content’, ‘page’ ); get_template_part( 'functions-woocommerce' );
Colorbox default parameters defaults = { transition: "elastic", speed: 300, width: false, initialWidth: "600", innerWidth: false, maxWidth: false, height: false, initialHeight: "450", innerHeight: false, maxHeight: false, scalePhotos: true, scrolling: true, inline: false, html: false, iframe: false, fastIframe: true, photo: false, href: false, title: false, rel: false, opacity: 0.9, preloading: true, current: "image {current} of {total}",…
I have a search form to add below page title using Visual Composer Fancy title (the7 WordPress theme) page editor. I look for alternative solutions that I can insert my additional HTML content. Lucky me to found it, and here’s the code on how to add additional content. Add this code on your functions.php, can…
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){…