This topic contains 2 replies, has 2 voices, and was last updated by Ernest Marcinko 8 years, 5 months ago.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Missing taxonomy terms
This topic contains 2 replies, has 2 voices, and was last updated by Ernest Marcinko 8 years, 5 months ago.
Hello:
For the lists of available taxonomy terms, what would cause a term not to show in the list box? I have several posts assigned to these terms, but they won’t show in the list boxes. What can I check to see if there’s a disconnect? Thanks for any help you can give.
OK, found the issue. In the ajax-search-pro/backend/settings/class/customtaxonomyterm.class.php script there’s this line:
$terms[$taxonomy] = array_slice($terms[$taxonomy], 0, 50, true);
When I changed the length parameter from 50 to 100, the missing terms showed up.
So here’s my question: is there a particular reason why this was limited to 50? Since this was a problem for us, is there any way for this to be addressed in a patch?
Hi!
I’m glad you found it. There is a reason why that’s code there. Some customers had tousands of terms per taxonomy and the HTML output got so big, that their browser crashed on the back-end.
This most likely will be increased a bit, as 50 seems a bit low. Yet I have to set a limit to avoid browser crashes.
You must be logged in to reply to this topic.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |