This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

How to use "maxlength" attribute for advanced title and content fields

Home Forums Product Support Forums Ajax Search Pro for WordPress Support How to use "maxlength" attribute for advanced title and content fields

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30518
    TaufanTaufan
    Participant

    Hi,

    I read your changelog, it says:
    Added:
    “maxlength” attribute for advanced title and content fields

    My question is how to use that?

    I try this code but didnt work. Any suggestion?

    {descriptionfield maxlength=50}

    Thanks.

    #30539
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    That attribute currently only works for meta and taxonomy fields. If you only have the descriptionfield as the content, then this option can limit the field length: https://i.imgur.com/gcu4Dhk.png

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.