Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › How to Max Length CustomField result to 100 › Reply To: How to Max Length CustomField result to 100
November 30, 2020 at 6:32 pm
#30428
Participant
I’m sorry, but have you tried it by yourself?
because the code above that I put in functions.php has no effect.
Even after I clear cache and deactivate all plugins except AjaxSearchPro.
Can you double check your code again?
I already change the code to:
$custom_field = "my_custom_field";
$length = 10;
And add this to “Advanced Description Field” column:
{my_custom_field}
But have no effect.
I just want to make sure the code is correct?
It’s not urgent, I just learn with this plugin setting.
Thanks.