array( 'id' => 'post-global-sidebar', 'value' => 'global-sidebar', 'label' => esc_html__( 'Global sidebar', 'ashlar' ), ), 'right-sidebar' => array( 'id' => 'post-left-sidebar', 'value' => 'right-sidebar', 'label' => esc_html__( 'Right sidebar', 'ashlar' ), ), 'left-sidebar' => array( 'id' => 'post-right-sidebar', 'value' => 'left-sidebar', 'label' => esc_html__( 'Left sidebar', 'ashlar' ), ), 'no-sidebar' => array( 'id' => 'post-no-sidebar', 'value' => 'no-sidebar', 'label' => esc_html__( 'No sidebar', 'ashlar' ), ), ); /** * Callback function for post option. */ if( ! function_exists( 'ashlar_post_metafield_callback' ) ): function ashlar_post_metafield_callback() { global $post, $ashlar_post_sidebar_fields; $post_type = get_post_type($post->ID); wp_nonce_field( basename( __FILE__ ), 'ashlar_post_meta_nonce' ); ?>

ID, 'ashlar_post_sidebar_option', true ) ); if( $ashlar_post_sidebar == '' ){ $ashlar_post_sidebar = 'global-sidebar'; } foreach ( $ashlar_post_sidebar_fields as $ashlar_post_sidebar_field) { ?>

ID, 'twp_disable_ajax_load_next_post', true) ); ?>

ID, 'ashlar_ed_feature_image', true ) ); ?>
/>

ID, 'twp_aspect_ratio', true) ); ?>
ID, 'ashlar_ed_post_views', true ) ); $ashlar_ed_post_read_time = esc_html( get_post_meta( $post->ID, 'ashlar_ed_post_read_time', true ) ); $ashlar_ed_post_like_dislike = esc_html( get_post_meta( $post->ID, 'ashlar_ed_post_like_dislike', true ) ); $ashlar_ed_post_author_box = esc_html( get_post_meta( $post->ID, 'ashlar_ed_post_author_box', true ) ); $ashlar_ed_post_social_share = esc_html( get_post_meta( $post->ID, 'ashlar_ed_post_social_share', true ) ); $ashlar_ed_post_reaction = esc_html( get_post_meta( $post->ID, 'ashlar_ed_post_reaction', true ) ); $ashlar_ed_post_rating = esc_html( get_post_meta( $post->ID, 'ashlar_ed_post_rating', true ) ); ?>

/>
/>
/>
/>
/>
/>
/>