Tag: PHP

  • Redirect “add to cart” from specific category

    Between sketching on the playground with my toddler (more on that below code), I spend a fair bit of time staring at code.  I’d probably spend a lot less time if I wasn’t such a noob, and it took me forever to figure out this Woocommerce problem I’d been having.  If you’re trying to redirect…

  • Descriptions in Woocommerce Shop Page

    Adding descriptions to your Woocommerce Shop Page: Open your FTP client Make a new folder and place in your child theme.  Name it “woocommerce” Copy the file “content-product.php” from ‘wp-content > plugins > woocommerce > templates’ to your new “woocommerce” folder. add this line: add_action(‘woocommerce_after_shop_loop_item_title’,’woocommerce_template_single_excerpt’, under where it says <?php Done.  I didn’t need an excerpt…