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 a new WordPress user using CPANEL access? Here are some tips to do that. Please read below. Step 1: Login to your CPANEL dashboard. Step 2: Go to your PHPMYADMIN page where you can edit your database. Step 3: Select your wp_user table and click copy button. See image below. Step 4:…
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…
Get current posts parent category ID, permalink, name, etc via codes below. $ac_category = get_the_category( get_the_ID() ); // Use print_r($ac_category); to see all data. It includes name, slug, etc. echo esc_url( get_category_link( $ac_category[0]->term_id ) ); // this will show a category permalink
Add Woocommerce product featured image using GeneratePress WordPress theme in few steps. You need to access your functions.php. Either on a parent theme or a child theme. In my case I’m using a child theme so gonna paste the codes below on child themes functions.php Please copy the code below and paste it into your…
WDES rtMedia Music template override All files inside the “templates” folder can be override in your current theme/child theme. To do that, create a “wdes-rtmedia-music” in your current theme/child theme and place the template file inside of “wdes-rtmedia-music” folder. Example: You want to override the “all.php” to your theme/child theme. wdes-rtmedia-music > lib > templates > all.php Override…
How to get plugin URL? echo plugin_dir_url( __FILE__ ) . ‘assets/foo-styles.css’; # OUTPUT WILL BE http://example.com/wp-content/plugins/my-plugin/assets/foo-styles.css Refferences : https://codex.wordpress.org/Function_Reference/plugin_dir_url