Support » Plugin: WooCommerce » Content after woocommerce

  • Resolved losrack

    (@carlos-jaramillo)


    Hi,

    Is there a way to add a division after woocommerce content?

    Thanks

    • This topic was modified 1 year, 5 months ago by  losrack.
Viewing 2 replies - 1 through 2 (of 2 total)
  • This can be achieved with a hook:

    add_action( 'woocommerce_after_main_content', 'add_my_text', 20 );
    function add_my_text() {
      print '<p>This is my extra text.</p>';
    }

    The snippet goes in functions.php for your child theme if you have one, otherwise yuou can use the “My Custom Functions” plugin.

    losrack

    (@carlos-jaramillo)

    Thanks, I ‘ll add it to my functions

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Content after woocommerce’ is closed to new replies.