skip to Main Content

I use WordPress with "All In One SEO" plugin (not Pro version). I need to write quite long meta tags, but there’s a limit: 60 characters. How to increase it? Cannot find this setting.

2

Answers


  1. Chosen as BEST ANSWER

    I've added this code:

    function custom_ai1seo_meta_length($length) {
        return 250; // number of chars
    }
    
    add_filter('aioseop_title_length', 'custom_ai1seo_meta_length');
    add_filter('aioseop_description_length', 'custom_ai1seo_meta_length');
    

  2. The character limit on these meta tags comes from search engine limitations, not the plugins.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search