- This topic has 1 reply, 2 voices, and was last updated 5 years, 2 months ago by .
-
Topic
-
Adding the ‘add_to_wpseo_analysis’ => true to fields within a group has no results. Can we get a fix here?
Example code:
$meta_boxes[] = array( 'title' => __( 'Frontpage column content' ), 'post_types' => 'page', 'include' => array( 'template' => array( 'page-frontpage.php' ) ), 'fields' => array( array( 'id' => 'colcontent', // Gropu field 'type' => 'group', // Clone whole group? 'clone' => true, // Drag and drop clones to reorder them? 'sort_clone' => true, // Sub-fields 'fields' => array( array( 'name' => __( 'Headline', 'dahl' ), 'id' => 'headline', 'type' => 'text', 'add_to_wpseo_analysis' => true ), array( 'name' => __( 'Image', 'dahl' ), 'id' => 'image', 'type' => 'image_advanced', ), array( 'name' => __( 'Text', 'dahl' ), 'id' => 'text', 'type' => 'textarea', 'add_to_wpseo_analysis' => true ), array( 'name' => __( 'Link to page', 'dahl' ), 'id' => 'pagelink', 'type' => 'post', 'post_type'=>'page' ), ), ), ), );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.