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.
Topic RSS
10:48 am
September 4, 2009
Offline1:13 am
October 14, 2008
OfflineYou must be a subscriber to view administrator posts. Click here to purchase a support subscription.
11:03 pm
November 18, 2010
OfflineSame thing here. I'm trying to set up a custom template for one of my categories, and I'm also using a custom header file. I tried manually setting the title tag, but it appears to be getting overwritten by the All in One SEO. Is there anything I can add, either to the category-x.php template or to the header-x.php template that will override the All in One SEO title?
Thanks.
11:48 pm
November 18, 2010
OfflineHi, again. Sorry to post two replies right in a row, but I wanted to let folks know how to solve this. Takes a bit of doing, but here's how I accomplished it. If you're wanting to set up a category page with a unique, custom title, you'll first want to create a category-ID.php template (where ID = the number of the category). Also, create a header-ID.php file that's a copy of your original header.php file. Open the new header-ID.php file, and change the information in the title tags to be whatever you want to name your category page (<title>Your Custom Title</title>).
Now, open up your category-ID.php file and comment out the "get header" reference. Replace it with an include for your new header-ID.php file. It should end up looking something like this:
<?php include('./wp-content/themes/heatmaptheme/header-4.php'); ?>
<?php // get_header(); ?>
Last, but definitely not least, you'll want to go into your All-in-One SEO configuration and scroll all the way down to the "Exclude Pages" field. There, you simply need to enter the name of the category you're wanting to do the custom title on. Don't include any slashes — just enter the category name by itself. Then click the Update Options button… and you're set!
There's probably an easier, more elegant way to accomplish this, but I figured I'd share something that would at least work. (Or at least I hope it works for other people)
Most Users Ever Online: 205
Currently Online:
55 Guest(s)
Currently Browsing this Page:
2 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)




Log In
Home


