Add new tag under is_404 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

Add new tag under is_404

Post
New Member

logikal16

posts 1

9:29 am June 10, 2009

Hi,

In the rewrite_title function, line 1150, I was hoping to add another tag for pulling in the wp_title() text generated from WP.

$title = $this->internationalize(wp_title('', false));
$new_title = str_replace('%404_title%', $title, $new_title);

This would allow for other plugins (*coughs* Pods) to hook into wp_title() for 404 pages.
It would also allow for the standard "Page Not Found" title (as well as the i8n variations), preventing users from having to hard-code it.

Thanks,
Matt 

Admin

hallsofmontezuma

Cary, NC

posts 202

1:13 pm July 2, 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:
25 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