Character Count for Page Title All in One SEO Pack Feature Requests Forum

The support forums have a new home! Please visit All in One SEO Pack's new residence at Semper Plugins to purchase a support plan.

 
You must be logged in to post
Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Character Count for Page Title

Post
New Member

raypryor1

Chicago, IL USA

posts 1

9:24 am October 4, 2009

First of all, great work on this plug-in; it rocks like a hurricane.

It would be super great if the Title field had a character count and a marker so that you'd know what text is past 60 characters including spaces. With this feature you could easily see where the title would get cut off in Google search results.

What do you think?

- Ray

Admin

WordPress Professional

Raleigh, NC

posts 442

10:31 am October 4, 2009

You must be a subscriber to view administrator posts. Click here to purchase a support subscription.

For what shall it profit a man if he shall gain the whole world and lose his own soul

New Member

Bil

posts 1

10:23 am December 16, 2009

I think this would be a great feature, too. If you'd like to just use this, here's the change I made:

In all_in_one_seo_pack.php replace lines 762 through 769 with:

<td><input value="<?php echo $title ?>" type="text" name="aiosp_title" size="62"
onKeyDown="countChars(document.post.aiosp_title,document.post.lengthT)"
onKeyUp="countChars(document.post.aiosp_title,document.post.lengthT)"/><br />
<input readonly type="text" name="lengthT" size="3" maxlength="3" style="text-align:center;" value="<?php echo strlen($title);?>" />
<?php _e(' characters. Most search engines use a maximum of 60 chars for the title.', 'all_in_one_seo_pack') ?>
</td>
</tr>
<tr>
<th scope="row" style="text-align:right;"><?php _e('Description:', 'all_in_one_seo_pack') ?></th>
<td><textarea name="aiosp_description" rows="3" cols="60"
onKeyDown="countChars(document.post.aiosp_description,document.post.length1)"
onKeyUp="countChars(document.post.aiosp_description,document.post.length1)"><?php echo $description ?></textarea><br />
<input readonly type="text" name="length1" size="3" maxlength="3" style="text-align:center;" value="<?php echo strlen($description);?>" />

Admin

hallsofmontezuma

Cary, NC

posts 202

4:47 am December 18, 2009

You must be a subscriber to view administrator posts. Click here to purchase a support subscription.

For what shall it profit a man, if he shall gain the whole world, and lose his own soul?


About the WordPress Developer Forum

Forum Timezone: America/New_York

Most Users Ever Online: 205

Currently Online:
30 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 5
Forums: 23
Topics: 1543
Posts: 3447

Membership:

There are 6357 Members

There are 4 Admins
There are 3 Moderators