Home › Forums › Support › Adding text via hook on woocommerce category page This topic has 5 replies, 2 voices, and was last updated 4 years ago by Ying. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts April 4, 2022 at 10:56 am #2177832 Andrew I’m trying to add some custom text, preferably varying by category, but I’m struggling to find the required hook. I assume it’s a hook I need? I’ve added a link in the private information for an example – I’d like the text above the product links? Or below if above isn’t possible. Any pointers much appreciated! Thanks. April 4, 2022 at 11:14 am #2177844 YingStaff Customer Support Hi Andrew, I think this is what you need ( visual hook guide for Woo pages): https://www.businessbloomer.com/woocommerce-visual-hook-guide-archiveshopcat-page/ You can use woocommerce_shop_loop_item_title hook, if the hook is not in the drop down list, then choosecustom hook, enter this hook name. April 4, 2022 at 11:25 am #2177866 Andrew Thanks! That’s done the trick. One semi-related question when it comes to Elements: When should I use the Element type Block and when should I use Hook? Because it feels like as you can use hooks in Blocks there is no need to ever use the Hook element – Or is there? April 4, 2022 at 11:35 am #2177878 YingStaff Customer Support When should I use the Element type Block and when should I use Hook? In hook element, you can use JavaScript/PHP/CSS/HTML. Block element is similar to hook element, but the content will be block based, not code based. Hope I made it clear 🙂 April 4, 2022 at 11:52 am #2177904 Andrew Thanks – All clear 🙂 April 4, 2022 at 12:08 pm #2177920 YingStaff Customer Support Great 🙂 Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In