Built and developed by leading experts, Flatsome has a very professional and modern design.
That’s why the need to edit Flatsome is very much, requiring you to have certain knowledge of the basic hook of Flatsome.
Contents
1. Hook is located in the header of Flatsome
In the header of Flatsome there is a hook named
- In front of the Header is: flatsome_before_header.
- Behind the Header is: flatsome_after_header.
Here is an example, you will understand part of it. I write in the functions.php file:
and here is the image:

Similar to the header are the hooks:
flatsome_after_header,flatsome_before_footer I won’t repeat it again.
3.Hook woocommerce_product_description_heading
This code helps you to add product description in woocommerce.

4.Hook flatsome_before_product_page

5.Hook flatsome_after_product_page
This hook will show up right after the product’s “main” closing tag.
function add_text_flatsome_after_product_page(){

Epilogue
Hoping for a tutorial on how to use Flatsome’s basic hooks.
If you find it interesting, you can follow the wordpress tips section to know more new knowledge.
Follow fanpage to receive the latest posts: Group
Wish you have interesting and interesting knowledge about wordpress!
