Pls Help Me To Add Yoost focus keyword (keyphrase) field in quick edit of WordPr
-
I m a newbie using OceanWp Theme on my WordPress Website I just Want To Add a field of yoost focus keyword in quick edit of all post . I have created many post without any focus keyword and its not getting difficult to add focus keyword to all field here is my code below which is not working pls help me modifying and debugging this code i m new to this so need some help
add_action( ‘quick_edit_custom_box’, ‘my_quick_edit_custom_box’, 10, 2 );function my_quick_edit_custom_box( $column_name, $post_type ) { if ( ‘yoast_focus_keyword’ === $column_name ) { ?> <fieldset class=”inline-edit-col-right inline-edit-yoast-focus-keyword”> <div class=”inline-edit-col”> <label> <span class=”title”><?php esc_html_e( ‘Yoast Focus Keyword’, ‘textdomain’ ); ?></span> <span class=”input-text-wrap”> <?php $keyphrase = get_post_meta( get_the_ID(), ‘_yoast_wpseo_focuskw’, true ); ?> <input type=”text” name=”yoast_focus_keyword” value=”<?php echo esc_attr( $keyphrase ); ?>”> </span> </label> </div> </fieldset> <?php }}
Thanks In Advance Pls help Me to just get/add a field of focus keyword in under quick edit tab of all post
The page I need help with: [log in to see the link]
- The topic ‘Pls Help Me To Add Yoost focus keyword (keyphrase) field in quick edit of WordPr’ is closed to new replies.