passing the data related id in render php
This commit is contained in:
parent
2f415f4fa4
commit
37de8bc461
|
|
@ -23,7 +23,7 @@ if ($relatedPost) {
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<section id="<?php echo $anchor ?>" class="post-content-container <?php echo $anchor ? "has-custom-anchor" : "" ?>">
|
<section id="<?php echo $anchor ?>" class="post-content-container <?php echo $anchor ? "has-custom-anchor" : "" ?>" data-related-id="<?php echo $relatedPostId ?>">
|
||||||
<h2 class="post-content-container__title"><?php echo $relatedPost->post_title ?></h2>
|
<h2 class="post-content-container__title"><?php echo $relatedPost->post_title ?></h2>
|
||||||
<?php echo $content; ?>
|
<?php echo $content; ?>
|
||||||
</section>
|
</section>
|
||||||
|
|
@ -23,7 +23,7 @@ if ($relatedPost) {
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<section id="<?php echo $anchor ?>" class="post-content-container <?php echo $anchor ? "has-custom-anchor" : "" ?>">
|
<section id="<?php echo $anchor ?>" class="post-content-container <?php echo $anchor ? "has-custom-anchor" : "" ?>" data-related-id="<?php echo $relatedPostId ?>">
|
||||||
<h2 class="post-content-container__title"><?php echo $relatedPost->post_title ?></h2>
|
<h2 class="post-content-container__title"><?php echo $relatedPost->post_title ?></h2>
|
||||||
<?php echo $content; ?>
|
<?php echo $content; ?>
|
||||||
</section>
|
</section>
|
||||||
Loading…
Reference in New Issue
Block a user