Интеграция фронта

This commit is contained in:
2024-06-09 17:36:55 +05:00
parent 830c66689b
commit 9a72b52c93
4 changed files with 51 additions and 6 deletions

View File

@ -40,11 +40,9 @@ switch ($tax_id) {
?>
<?php $tags = get_the_tags(); $tag = $tags[0]->slug; $same_id = get_the_ID(); ?><span id="catcat" data-tag ="<?php echo $tag; ?>" data-sameid="<?php echo $same_id; ?>" ></span>
<main <?php post_class('site-main'); ?> role="main">
<script>
<main <?php post_class('site-main'); ?> role="main">
</script>
<div class="single-article-post" id="article.id">
<div class="projects-list-wrap"> <!-- begin of wrapper -->
<span class="data-wrapper" data-title="<?php the_title(); ?>" data-url="<?php the_permalink(); ?>" data-description="<?php echo get_post_meta(get_the_ID(), '_yoast_wpseo_metadesc', true); ; ?>">
@ -59,7 +57,6 @@ switch ($tax_id) {
<span class="breadcrump-separator">—</span>
<span class="breadcrumb_last" aria-current="page"><?php the_title(); ?></span></span>
</p>
<div class="ppd-container article-container">
<div class="article-header">
<h1 class="article-title"><?php the_title(); ?></h1>
@ -155,7 +152,7 @@ switch ($tax_id) {
// $content = apply_filters( 'the_content', get_the_content() );
// echo $content;
?>
<div id="root" style="width: 100%;"></div>
<div class="article-details__social article-details__social-bottom">
<button class="show-commmentsform">Оставить комментарий</button>
<?php