Open chuckreynolds opened 6 years ago
The thing with post formats
is, that the theme has to support it and register them first and they are not exactly popular and there were even some minor drawbacks in terms of SEO. I believe you are the first person actually asking about them in terms of TSF support. I personally like the concept of post formats, but none of the themes I am using supports them.
I don't see any options for post formats... to noindex them or if we choose to index them
Glancing in the codex, here is an example of a filter to noindex
and nofollow
video post format (untested and assuming your theme is using video post format):
add_filter( 'the_seo_framework_robots_meta_array', 'my_robots_adjustments', 10, 1 );
function my_robots_adjustments( $meta = array() ) {
if ( has_post_format( 'video' ) ) {
$meta['noindex'] = 'noindex';
$meta['nofollow'] = 'nofollow';
}
return $meta;
}
anywhere to add meta information for them?
Here is the issue, where would we add metaboxes? Even if your theme supports post formats, there is no item in the back-end posts menu. From reading the codex I’m getting the vibe WordPress doesn’t really want you to mess with them (you can’t add/edit custom post format). Maybe you can write bunch of filters, but I believe much more effective way is migrating to custom post types. TSF fully supports them and they play nicely with other plugins. This way you’ll end up with flexible and fully SEO–ready environment, even it might seem bit intuitive in the first place. Added bonus is, you can make your own types, like planets, balls, whatever. Example:
I think post formats are simply too niche, but @sybrew will surely chime in with his stance on the topic.
As @LeBaux correctly said, there's little market for this. The filters provided should do the trick.
Now, I wouldn't make a separated post type for this as it'll separate the "blog-style" contents in archives.
I'm open to third-party developers providing an interface for this as they see fit, and I'll happily guide them through the process. But, I won't get started on this anytime soon myself.
I don't see any options for post formats... to noindex them or if we choose to index them, anywhere to add meta information for them? Am I missing something or?