JSFiddle - React, Tailwind, and code Playground
by Vladimir
JavaScript
/*$thumbnail_src = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' );
$og_image = esc_attr( $thumbnail_src[0] );
$og_type = 'website';
$schema_pageType = 'WebPage';
$e_title = trim(wp_title('', false));
$post_title = $e_title;//.(wp_title('', false) ? ' | ' : '' ).'★ '.get_bloginfo('name');
$og_title = $post_title;
if(is_single()) {
$og_type = 'article';
$schema_pageType = 'Article';
$og_title = $e_title;
$content = get_post_field( 'post_content', $post->ID );
$content_parts = get_extended( $content );// Get content parts
$og_description = strip_tags($content_parts['main']);// Output part before <!--more--> tag
} else if(is_category()) {
} else if(is_front_page()) {
$post_title = 'Мои Советы. Живи. Наслаждайся. Пробуй.';
$og_title = $post_title;
$og_image = 'https://moisovety.com/wp-content/themes/moisovety/images/logo.svg';
$og_description = 'Живи. Наслаждайся. Пробуй.';
} else {
$og_image = 'https://moisovety.com/wp-content/themes/moisovety/images/logo.svg';
} */