
stephane.midrouet@gmail.com(@stephane-midrouet-gmail-com)
16 Posts
Customers
Quote from stephane.midrouet@gmail.com on April 9, 2025, 18:05
Hi,
Everything's in the title : I inserted the shortcode [woof_found_count] in a page to get the total number of results. And it seems it gets the correct figure only if I insert it at the bottom of the page, and not at the top...
The code of my WP page is :
[woof_front_builder name=”My test filter form” ][woof_found_count][woof_products orderby=serie order=asc display_on_search=1][woof_found_count]
The URL for this page is (for instance) : http://archivesfranciscaines.fr.aditelsoft.com/recherche-archives/req2/product_cat-b/
You'll see that we get "Nombre de documents trouvés : 1" at the top of the page (before the results) and "Nombre de documents trouvés : 790" at the bottom of the page (after the results).
I tried to insert the function you described in some answers to other users ("add_filter('woof_print_content_before_search_form', function($content) (...)"), but it doesn't work : it also shows 1 result found...
Thanks for your help.
Hi,
Everything's in the title : I inserted the shortcode [woof_found_count] in a page to get the total number of results. And it seems it gets the correct figure only if I insert it at the bottom of the page, and not at the top...
The code of my WP page is :
[woof_front_builder name=”My test filter form” ][woof_found_count][woof_products orderby=serie order=asc display_on_search=1][woof_found_count]
The URL for this page is (for instance) : http://archivesfranciscaines.fr.aditelsoft.com/recherche-archives/req2/product_cat-b/
You'll see that we get"Nombre de documents trouvés : 1" at the top of the page (before the results) and"Nombre de documents trouvés : 790" at the bottom of the page (after the results).
I tried to insert the function you described in some answers to other users ("add_filter('woof_print_content_before_search_form', function($content) (...)"), but it doesn't work : it also shows 1 result found...
Thanks for your help.

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on April 10, 2025, 10:30
Hello
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png and wp-admin access - https://share.pluginus.net/image/i20230222134615.png
Hello
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png and wp-admin access - https://share.pluginus.net/image/i20230222134615.png

stephane.midrouet@gmail.com(@stephane-midrouet-gmail-com)
16 PostsTopic Author
Customers
Quote from stephane.midrouet@gmail.com on April 10, 2025, 10:35
Hello,
I specified them yesterday, I don't know why they don't appear this morning...
Anyway, I just gave them again right now.
Hello,
I specified them yesterday, I don't know why they don't appear this morning...
Anyway, I just gave them again right now.

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on April 10, 2025, 11:28
Ok!
Please add in functions.php:
add_action('woocommerce_before_shop_loop', function(){
echo do_shortcode('[woof_found_count]');
}, 9999999);
Ok!
Please add in functions.php:
add_action('woocommerce_before_shop_loop', function(){
echo do_shortcode('[woof_found_count]');
}, 9999999);

stephane.midrouet@gmail.com(@stephane-midrouet-gmail-com)
16 PostsTopic Author
Customers
Quote from stephane.midrouet@gmail.com on April 10, 2025, 15:34
It's working fine.
Thanks !
It's working fine.
Thanks !

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on April 11, 2025, 10:46
Great! Welcome;)
Great! Welcome;)