Skip to content

Commit

Permalink
- support both Yoast and SEO framework
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusforsberg committed Sep 17, 2018
1 parent f01c3ee commit 3e4308f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion acf-native-field-type.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function render_field_settings($field) {
'content' => __('Content Editor', 'acf-native-fields'),
'excerpt' => __('Excerpt', 'acf-native-fields'),
'featured_image' => __('Featured Image', 'acf-native-fields'),
'yoast_seo' => __('Yoast SEO', 'acf-native-fields'),
'yoast_seo' => __('SEO (Yoast or SEO framework)', 'acf-native-fields'),
'publish_box' => __('Publish Box', 'acf-native-fields'),
'permalink' => __('Permalink', 'acf-native-fields'),
'discussion' => __('Discussion', 'acf-native-fields'),
Expand Down
4 changes: 2 additions & 2 deletions js/acf-native-fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@
},

/**
* ACF Native Field type: Yoast SEO meta box
* ACF Native Field type: SEO meta box (Yoast or SEO framework)
*/
moveNativeField_yoast_seo: function() {
return ACF_Native_Fields.getNativeFieldElement('#wpseo_meta');
return ACF_Native_Fields.getNativeFieldElement('#wpseo_meta, #tsf-inpost-box');
},

/**
Expand Down

0 comments on commit 3e4308f

Please sign in to comment.