Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.
How NOT to customize
WooCommerce
How to add a PHP
snippet to your website
How to use actions to
avoid template overrides
A...
Free Access to Slides &
Recording
Yes!
Are you ready to
learn something useful?
...your GOAL:
Take action & make/save $$$
...my GOAL:
Teach you my tools/tricks/tips!
Not a dev
Not a coder
Yet, 600+
worldwide
WooClients
Rodolfo Melogli @rmelogli
WooCommerce Lover ~
Digital Marketer ~ Auth...
1. How NOT to customize
WooCommerce
Don’t edit your Theme; use a Child Theme
Don’t edit WC plugin files
Don’t use WP editor, use FTP :)
Don’t override
templates, take
advantage of
do_action
1. Always create & use a child theme
2. Always work with FTP so you can backup & restore
How NOT to customize
WooCommerce
How to add a PHP
snippet to your website
How to use actions to
avoid template overrides
A...
2. How to add PHP
snippets to your
WooCommerce website
Single Product Page
Snippets @ end of functions.php, BEFORE ‘?>’
Snippets @ end of functions.php, BEFORE ‘?>’
Final Result
Snippets @ end of functions.php, BEFORE ‘?>’
Final
Result
“White Screen of Death”
How NOT to customize
WooCommerce
How to add a PHP
snippet to your website
How to use actions to
avoid template overrides
A...
3. How to use actions to
customize WooCommerce
WC template files: do_action(‘name-of-the-hook’);
Single Product Page
Hooks?
BusinessBloomer.com/HOOKS
“I would like to add text @ Single
Product Page above product title”
BusinessBloomer.com/HOOKS
woocommerce_single_product_summary
Final
Result
BusinessBloomer.com/HOOKS
I would like to REMOVE “Category:
Black” @ Single Product Page
BusinessBloomer.com/HOOKS
woocommerce_single_product_summary
Final
Result
How NOT to customize
WooCommerce
How to add a PHP
snippet to your website
How to use actions to
avoid template overrides
A...
Wrapping up...
You don’t need to be a
PHP guru!
You can customize
Woo little by little!
Free Access to Slides
& Recording
Thank you!
And now, ask me
anything you like in
the Twitter chat!
WooCommerce: How to Customize WordPress via PHP Snippets
WooCommerce: How to Customize WordPress via PHP Snippets
WooCommerce: How to Customize WordPress via PHP Snippets
Prochain SlideShare
Chargement dans…5
×

WooCommerce: How to Customize WordPress via PHP Snippets

18 272 vues

Publié le

*** Watch the Video Recording at http://goo.gl/31nZj8 ***

Even if you don't know PHP, you can learn simple strategies to empower your WooCommerce store. A few lines of code and you're ready to go!

In this video you will learn:

1) How NOT to customize WooCommerce (the biggest mistake ever)

Of course, editing your template files is not at all recommended (we'll make sure to repeat this). However, even if you're familiar with child themes, there is also another problem: overriding WooCommerce templates is NOT a good idea - I'll explain you why.

2) How to add a PHP snippet to your website without breaking it and without knowing anything about PHP

How many times have you added a snippet to your functions.php or other file and broke the website? No one likes to see the "white screen of death" in WordPress. I'll show you how you can prevent this, and how you can fix it in case that happens.

3) How to use actions and filters to avoid template overrides

There are thousands of WooCommerce snippets available on the internet. Let's be honest - they're cool! In this session, we'll go through an example of an add_action and an add_filter and we'll see how they work (don't worry if you don't know what add_action is).

4) And, you will have access to me via Twitter for any questions you may have. This is invaluable!

After the video training, you can use the Twitter chat to ask me anything you want. I'd love to hear from you and you can also use this invaluable time to ask me ANYTHING you like. I'll get back to you asap!

Publié dans : Logiciels
  • Soyez le premier à commenter

WooCommerce: How to Customize WordPress via PHP Snippets

  1. 1. How NOT to customize WooCommerce How to add a PHP snippet to your website How to use actions to avoid template overrides Ask me anything @ end
  2. 2. Free Access to Slides & Recording Yes!
  3. 3. Are you ready to learn something useful?
  4. 4. ...your GOAL: Take action & make/save $$$ ...my GOAL: Teach you my tools/tricks/tips!
  5. 5. Not a dev Not a coder Yet, 600+ worldwide WooClients Rodolfo Melogli @rmelogli WooCommerce Lover ~ Digital Marketer ~ Author
  6. 6. 1. How NOT to customize WooCommerce
  7. 7. Don’t edit your Theme; use a Child Theme
  8. 8. Don’t edit WC plugin files
  9. 9. Don’t use WP editor, use FTP :)
  10. 10. Don’t override templates, take advantage of do_action
  11. 11. 1. Always create & use a child theme
  12. 12. 2. Always work with FTP so you can backup & restore
  13. 13. How NOT to customize WooCommerce How to add a PHP snippet to your website How to use actions to avoid template overrides Ask me anything @ end
  14. 14. 2. How to add PHP snippets to your WooCommerce website
  15. 15. Single Product Page
  16. 16. Snippets @ end of functions.php, BEFORE ‘?>’
  17. 17. Snippets @ end of functions.php, BEFORE ‘?>’
  18. 18. Final Result
  19. 19. Snippets @ end of functions.php, BEFORE ‘?>’
  20. 20. Final Result
  21. 21. “White Screen of Death”
  22. 22. How NOT to customize WooCommerce How to add a PHP snippet to your website How to use actions to avoid template overrides Ask me anything @ end
  23. 23. 3. How to use actions to customize WooCommerce
  24. 24. WC template files: do_action(‘name-of-the-hook’);
  25. 25. Single Product Page Hooks?
  26. 26. BusinessBloomer.com/HOOKS
  27. 27. “I would like to add text @ Single Product Page above product title”
  28. 28. BusinessBloomer.com/HOOKS
  29. 29. woocommerce_single_product_summary
  30. 30. Final Result
  31. 31. BusinessBloomer.com/HOOKS
  32. 32. I would like to REMOVE “Category: Black” @ Single Product Page
  33. 33. BusinessBloomer.com/HOOKS
  34. 34. woocommerce_single_product_summary
  35. 35. Final Result
  36. 36. How NOT to customize WooCommerce How to add a PHP snippet to your website How to use actions to avoid template overrides Ask me anything
  37. 37. Wrapping up... You don’t need to be a PHP guru! You can customize Woo little by little!
  38. 38. Free Access to Slides & Recording Thank you! And now, ask me anything you like in the Twitter chat!

×