ID, '_ast_meta_title', true ); $description = get_post_meta( $post->ID, '_ast_meta_description', true ); $keywords = get_post_meta( $post->ID, '_ast_meta_keywords', true ); if ( ! $title ) { $title = get_the_title() . ' | ' . get_bloginfo( 'name' ); } if ( ! $description ) { $description = wp_trim_words( $post->post_content, 20 ); } echo "