Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Nous supprimons d'abord le HTML suggéré par défaut par WooCommerce
- remove_action( 'woocommerce_after_main_content', 'woocommerce_output_content_wrapper_end', 10);
- // Nous déclarons ensuite la fonction qui va injecter notre propre balisage
- add_action('woocommerce_after_main_content', 'my_theme_wrapper_end', 10);
- function my_theme_wrapper_end(){
- // Ceci est un exemple. Vous devez afficher ici votre propre balisage qui peut être bien plus complexe. Ou limiter à un seul div
- echo '</div>';
- }
Advertisement
Add Comment
Please, Sign In to add comment