Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
Version 9
Aengus Barton
0 points
Beginner
I’m trying to disable the count value shown in brackets after entries in the Advanced Search fields. Looking through class_hooks_filters.php, I see that there is the below:
function hook_displaycount($c){ return apply_filters(‘hook_displaycount’, $c); }
…would I be right in saying that in my child theme functions.php, I could set this to be 0 rather than the default of 1 which is set in class_search.php? If so, what would be the syntax to do that? 🙂
I’m trying to disable the count value shown in brackets after entries in the Advanced Search fields. Looking through class_hooks_filters.php, I see that there is the below:
function hook_displaycount($c){ return apply_filters(‘hook_displaycount’, $c); }
…would I be right in saying that in my child theme functions.php, I could set this to be 0 rather than the default of 1 which is set in class_search.php? If so, what would be the syntax to do that? 🙂
Thanks,
A
Members Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login Now