My custom wp-admin php files stopped working

As Tom noted, it’s never safe to edit WP Core files, including any of the contents of wp-admin or wp-includes. What happened? Your site may have auto-updated, and any update to Core would have overwritten your changes. Or, even if your site didn’t auto-update, it could be that your host has recently locked down those … Read more

Modifier l’affichage du prix sur la fiche produit

J’ai résolu une partie du problème. I solved part of the problem. **function change_product_price_display( $price ) { if ( is_product() && has_term( array( ‘clair’, ‘moyen’, ‘fonce’ ), ‘product_cat’ ) ) { $price_unit = $price; $prices = get_post_meta( get_the_ID(), ‘_price’, true ); $surface = get_field( ‘surface’ ); $surfaces = str_replace( ‘.’, ‘,’, get_field( ‘surface’ ) ); … Read more

WordPress Sending data to Ajax with select option

I would start with checking what’s sql query you have print_r(“Select * From wp_ilce where il_id={$_POST[‘il’]}”); Next copy it to the sql tab in your phpmyadmin and see if it returns the currect data, could be the the wp_ prefix is incorrect, mabe $_POST[‘il’] contains an incorrect value. But aside from all that WP has … Read more