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.

Please consider registering
guest

Log In

Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Character Count for Page Title
October 4, 2009
9:24 am
raypryor1
New Member
Forum Posts: 1
Member Since:
October 4, 2009
Offline

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

October 4, 2009
10:31 am
WordPress Professional
Admin
Forum Posts: 442
Member Since:
October 14, 2008
Offline

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
December 16, 2009
10:23 am
Bil
New Member
Forum Posts: 1
Member Since:
December 16, 2009
Offline

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);?>" />

December 18, 2009
4:47 am
hallsofmontezuma
Admin
Forum Posts: 202
Member Since:
June 8, 2009
Offline

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?
Forum Timezone: America/New_York

Most Users Ever Online: 205

Currently Online:
55 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

romiojuliat: 102

yaoming987: 50

jintuy: 50

miki1986: 33

newshow: 28

karen1234: 27

Member Stats:

Guest Posters: 0

Members: 6356

Moderators: 3

Admins: 4

Forum Stats:

Groups: 5

Forums: 23

Topics: 1546

Posts: 3450

Newest Members: carofern@cisco.com, pronto, jessie, pbaylies, ninaeast, freda

Moderators: davecashmore (2), aaron (5), tempadmin (0)

Administrators: WordPress Professional (442), hallsofmontezuma (202), onefinejay (10), stevemortiboy (4)