Toutes mes réponses sur les forums

3 sujets de 1 à 3 (sur un total de 3)
  • Auteur
    Messages
  • #101158
    Frederic Bastin
    Participant
    Points: 14 pts

    Y a t-il une solution ?

    Faut-il rajouter du code ?

    depanagewp
    #101132
    Frederic Bastin
    Participant
    Points: 14 pts

    Je voudrais bien ! mais je suis novice et je n’y connais rien aux codes !

    Mais voilà ce qu’il y a dans le thème enfant fonction php :

    <?php
    // Exit if accessed directly
    if ( !defined( ‘ABSPATH’ ) ) exit;

    // BEGIN ENQUEUE PARENT ACTION
    // AUTO GENERATED – Do not modify or remove comment markers above or below:

    if ( !function_exists( ‘chld_thm_cfg_parent_css’ ) ):
    function chld_thm_cfg_parent_css() {
    wp_enqueue_style( ‘chld_thm_cfg_parent’, trailingslashit( get_template_directory_uri() ) . ‘style.css’, array(  ) );
    }
    endif;
    add_action( ‘wp_enqueue_scripts’, ‘chld_thm_cfg_parent_css’, 10 );

    // END ENQUEUE PARENT ACTION
    /* Ajouter un bouton “Continuer mes Achats” sur la page panier */

    add_action( ‘woocommerce_after_cart_totals’, ‘wpm_continue_shopping_button’ );

    function wpm_continue_shopping_button() {

    // On récupère le lien de votre page boutique
    $shop_page_url = get_permalink( wc_get_page_id ( ‘shop’ ) );

    // On ajoute notre bouton
    echo ‘

    ‘;
    echo ‘ Continuer mes Achats‘;
    echo ‘

    ‘;
    }

    depanagewp
    #101121
    Frederic Bastin
    Participant
    Points: 14 pts

    Bonjour Frédéric,

    J’utilise DIVI CHILD

    depanagewp
3 sujets de 1 à 3 (sur un total de 3)