Title: Elementor custom loop function hook
Last modified: May 10, 2021

---

# Elementor custom loop function hook

 *  [salac](https://wordpress.org/support/users/salac/)
 * (@salac)
 * [5 years ago](https://wordpress.org/support/topic/elementor-custom-loop-function-hook/)
 * Hi guys
 * I have small challenges showing function hook in elementor custom loop.
    It has
   been tested in a shop without an elementor and it works fine, but in the shop
   with an elementor and with a custom loop it does not work. Working instalayion
   is with Astra light theme, your plugin and elementor pro.
 * Is there anything that can tell me what it can be the issue?
    Thanks
 * function sv_add_logo_above_wc_shop_image() {
    if ( is_product_category( ‘test1’)){
   echo ‘‘; } elseif ( is_product_category( ‘test2’ ) ) { echo ‘‘; } } add_action(‘
   woocommerce_before_shop_loop_item’, ‘sv_add_logo_above_wc_shop_image’, 9 );

Viewing 1 replies (of 1 total)

 *  Thread Starter [salac](https://wordpress.org/support/users/salac/)
 * (@salac)
 * [5 years ago](https://wordpress.org/support/topic/elementor-custom-loop-function-hook/#post-14420056)
 * // Kategori logo billede visning
    function sv_add_logo_above_wc_shop_image() {
 * if ( is_product_category( ‘georg-jensen’ ) ) {
    echo ‘‘; } elseif ( is_product_category(‘
   kay-bojesen’ ) ) { echo ‘‘; } } add_action( ‘woocommerce_before_shop_loop_item’,‘
   sv_add_logo_above_wc_shop_image’, 9 );

Viewing 1 replies (of 1 total)

The topic ‘Elementor custom loop function hook’ is closed to new replies.

 * ![](https://ps.w.org/ele-custom-skin/assets/icon.svg?rev=3518775)
 * [ECS - Ele Custom Skin for Elementor](https://wordpress.org/plugins/ele-custom-skin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ele-custom-skin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ele-custom-skin/)
 * [Active Topics](https://wordpress.org/support/plugin/ele-custom-skin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ele-custom-skin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ele-custom-skin/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [salac](https://wordpress.org/support/users/salac/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/elementor-custom-loop-function-hook/#post-14420056)
 * Status: not resolved