Custom Taxonomy Archives/WP Category Meta | Troubleshooting All in One SEO Pack Pro | Support | Semper Plugins

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





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

No permission to create posts
sp_Feed Topic RSS sp_TopicIcon
Custom Taxonomy Archives/WP Category Meta
July 9, 2012
2:51 pm
Avatar
Alex Stanhope
Member
AIOSEOP
Forum Posts: 12
Member Since:
July 9, 2012
sp_UserOfflineSmall Offline

To the team at Semper Plugins,

I’ve got a WP site where Custom Post Types (and associated taxonomies) have been set up; as things stand, I’d like to add a prefix to the page title on archive pages for the taxonomies, and read elsewhere on these forums that the WP Category Meta plug-in might be of some help in achieving this – http://wordpress.org/extend/pl…..gory-meta/

I’ve now installed the plug-in (though it looks like it is no longer in active development as the author doesn’t have the time to put into the project), and have created a “Meta” for one of my taxonomies to try things out. The problem is that the information is being saved to the database, but I can’t get it to override the page title that AIOSEOP Pro inserts into category archives.

So far, I’ve tried adding the following to my theme’s header.php file (I also tried the functions.php too), but to no avail sadly:

function sfwd_set_cubecat_category_title( $title ) {
if (function_exists(‘get_terms_meta’)) {
$category_id = get_queried_object_id();
if (!$category_id) return $title;
$title = get_terms_meta($category_id, ‘citiesmeta’);
if ( is_array($title) ) $title = $title[0];
}
return $title;
}

add_filter(‘single_cat_title’, ‘sfwd_set_cubecat_category_title’);

Any help with this would be gratefully received.

July 9, 2012
3:36 pm
Avatar
Peter Baylies
Admin
Forum Posts: 578
Member Since:
October 16, 2011
sp_UserOfflineSmall Offline

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **

July 9, 2012
4:00 pm
Avatar
Alex Stanhope
Member
AIOSEOP
Forum Posts: 12
Member Since:
July 9, 2012
sp_UserOfflineSmall Offline

Hi Peter,

Thanks for the speedy reply to my conundrum!

I’m definitely using %category_title% in my AIOSEOP settings, but interestingly, if I put a prefix before this, it doesn’t show up on my Custom Post Type/Custom Taxonomy archives, which I guess means that my custom taxonomies aren’t getting “thought of” as categories.

Any ideas as to what I can do about this? Maybe I got something wrong in the register_taxonomy I set up in my functions.php?

Any ideas as to what I can try next?

July 9, 2012
4:21 pm
Avatar
Peter Baylies
Admin
Forum Posts: 578
Member Since:
October 16, 2011
sp_UserOfflineSmall Offline

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **

July 9, 2012
4:37 pm
Avatar
Alex Stanhope
Member
AIOSEOP
Forum Posts: 12
Member Since:
July 9, 2012
sp_UserOfflineSmall Offline

Hi Peter,

single_term_title worked a treat! Thanks so much ๐Ÿ™‚

July 9, 2012
4:47 pm
Avatar
Alex Stanhope
Member
AIOSEOP
Forum Posts: 12
Member Since:
July 9, 2012
sp_UserOfflineSmall Offline

Hi Peter,

Just a quick thought – if I have two separate custom taxonomies that I wanted to get the titles that had been added through the WP Category Meta plugin, how would I set up the function shown above? I’ve tried the following (creating two functions), but it only gets titles from one of the two taxonomies when I do this ๐Ÿ™

Once again, if you have any suggestions as to how the best way to proceed would be, I’d be enormously grateful!

function sfwd_set_cities_taxonomy_title( $title ) {
if (function_exists(‘get_terms_meta’)) {
$category_id = get_queried_object_id();
if (!$category_id) return $title;
$title = get_terms_meta($category_id, ‘citiesmeta’);
if ( is_array($title) ) $title = $title[0];
}
return $title;
}
add_filter(‘single_term_title’, ‘sfwd_set_cities_taxonomy_title’);

function sfwd_set_lander_taxonomy_title( $title ) {
if (function_exists(‘get_terms_meta’)) {
$category_id = get_queried_object_id();
if (!$category_id) return $title;
$title = get_terms_meta($category_id, ‘landermeta’);
if ( is_array($title) ) $title = $title[0];
}
return $title;
}
add_filter(‘single_term_title’, ‘sfwd_set_lander_taxonomy_title’);

July 9, 2012
4:55 pm
Avatar
Peter Baylies
Admin
Forum Posts: 578
Member Since:
October 16, 2011
sp_UserOfflineSmall Offline

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **

July 9, 2012
5:20 pm
Avatar
Alex Stanhope
Member
AIOSEOP
Forum Posts: 12
Member Since:
July 9, 2012
sp_UserOfflineSmall Offline

Hi Peter,

Thanks so much – that worked perfectly ๐Ÿ™‚

January 2, 2013
5:08 am
Avatar
Alex Stanhope
Member
AIOSEOP
Forum Posts: 12
Member Since:
July 9, 2012
sp_UserOfflineSmall Offline

Sadly, I have to report that it’s stopped working as far as I can see; as of WordPress 3.5/AIOSEOP Pro 2.0.5, the custom meta information for taxonomies isn’t returned any more using that function :(

In the WP admin area, it appears that the page titles I added using the WP Category Meta plugin are still in place, but are no longer being outputted by AIOSEOP – just wondering if any of you might have any ideas as to how I can fix this?

The reason I ask is that rather unusually, in the case of this one particular site, I need to get the Taxonomy archives crawled!

January 2, 2013
10:31 am
Avatar
Peter Baylies
Admin
Forum Posts: 578
Member Since:
October 16, 2011
sp_UserOfflineSmall Offline

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **

January 2, 2013
2:12 pm
Avatar
Alex Stanhope
Member
AIOSEOP
Forum Posts: 12
Member Since:
July 9, 2012
sp_UserOfflineSmall Offline

Hi Peter,

Thanks for the heads-up on the arrival of 2.0.6 – I’ll keep my eyes peeled for the release, and let you know if it doesn’t fix things with my particular little issue!

January 5, 2013
5:12 am
Avatar
Alex Stanhope
Member
AIOSEOP
Forum Posts: 12
Member Since:
July 9, 2012
sp_UserOfflineSmall Offline

Hi Peter,

Firstly, congratulations to you all on the release of AIOSEOP Pro 2.0.6!

I updated the site I was having the issue mentioned above with, but sadly, it doesn’t seem to have fixed it :(

Any ideas what we can try next?

January 7, 2013
10:05 am
Avatar
Peter Baylies
Admin
Forum Posts: 578
Member Since:
October 16, 2011
sp_UserOfflineSmall Offline

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **

January 9, 2013
2:29 pm
Avatar
Alex Stanhope
Member
AIOSEOP
Forum Posts: 12
Member Since:
July 9, 2012
sp_UserOfflineSmall Offline

Hi Peter,

Thanks so much for taking the time to look into this on my behalf, and the amended code above has definitely hit the spot! The Taxonomy names are now shown in the titles again, though interestingly, the site name itself is no longer shown! Any ideas how we can get it back?

January 9, 2013
2:47 pm
Avatar
Peter Baylies
Admin
Forum Posts: 578
Member Since:
October 16, 2011
sp_UserOfflineSmall Offline

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **

January 9, 2013
3:00 pm
Avatar
Alex Stanhope
Member
AIOSEOP
Forum Posts: 12
Member Since:
July 9, 2012
sp_UserOfflineSmall Offline

Ah, nice! That was simple enough :)

Thanks again, Peter!

July 12, 2013
6:06 am
Avatar
nic
Member
AIOSEOP
Forum Posts: 20
Member Since:
July 12, 2013
sp_UserOfflineSmall Offline

Relying on a third party plugin which is no longer supported completely defeats the object of having a paid / PRO SEO plugin ?

Having just purchased the plugin I’m feeling let down that this support is not native.

Can somebody advise if this (real support for custom posts and taxonomies) is coming on-line soon or have I wasted my money ? ย Given that there are free plugins which have this capability as standard (WP SEO, SEO Ultimate etc.) I’m bemused that AIOSEO does not ?

What’s up with that ? ย I wondered why there were so many disgruntled users and I’m beginning to see a picture which is even worse when you are asking for people to pay a subscription to ensure they have the latest and greatest SEO plugin.

As a paying customer I would like some answers please.

July 12, 2013
10:17 am
Avatar
Peter Baylies
Admin
Forum Posts: 578
Member Since:
October 16, 2011
sp_UserOfflineSmall Offline

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **

July 12, 2013
1:05 pm
Avatar
nic
Member
AIOSEOP
Forum Posts: 20
Member Since:
July 12, 2013
sp_UserOfflineSmall Offline

Peter,

My post was in relation to custom taxonomies, post types (although I did mention it) were not my main concern as this is taken care of as well as standard categories and tags in the plugin so this IS a related post that I am posting on.

Frustration drove my outburst, so can you please explain how this works in AIOSEO please – without the need for other third party plugins.ย  I’m not happy about coding it (as I might as well do the whole thing myself), although I can do it I am paying AIOSEO for this.

Thanks,

Nic

July 12, 2013
1:19 pm
Avatar
Peter Baylies
Admin
Forum Posts: 578
Member Since:
October 16, 2011
sp_UserOfflineSmall Offline

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **

No permission to create posts
Forum Timezone: America/New_York

Most Users Ever Online: 964

Currently Online:
39 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 35

Members: 19946

Moderators: 0

Admins: 8

Forum Stats:

Groups: 4

Forums: 28

Topics: 1894

Posts: 8081

Newest Members:

Vickie Yorke

Administrators: Michael TorbertPeter BayliesSupport TeamSteve MortiboyMatthew RobinsonSteve KlasenArnaud BroesAshish Ravi

[i]
[i]
Skip to toolbar