Skip to content

Commit

Permalink
fix: remove ctas
Browse files Browse the repository at this point in the history
  • Loading branch information
mvstepanek committed Aug 2, 2024
1 parent 363710d commit 69c75fc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions lib/shortcodes/get-post.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ function getpost( $atts ) {
</div>
<?php } ?>
<div class="Content Post__content" itemProp="articleBody">
<?= $content; // @codingStandardsIgnoreLine ?>
<?= $content; // @codingStandardsIgnoreLine ?>
</div>
<?php echo do_shortcode( '[sidebarBanner bannerTitle="' . $atts['bannerTitle'] . '" bannerSubtitle="' . $atts['bannerSubtitle'] . '"]' ); ?>
<?php // echo do_shortcode( '[sidebarBanner bannerTitle="' . $atts['bannerTitle'] . '" bannerSubtitle="' . $atts['bannerSubtitle'] . '"]' ); ?>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion templates/content-single-features.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@
</div>
</div>
</div>
<?php echo do_shortcode( '[sidebarBanner chatbotType="' . get_post_meta( get_the_ID(), 'chatbot', true ) . '"]' ); ?>
<?php // echo do_shortcode( '[sidebarBanner chatbotType="' . get_post_meta( get_the_ID(), 'chatbot', true ) . '"]' ); ?>
</div>
</div>
2 changes: 1 addition & 1 deletion templates/content-single-glossary.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@

</div>
</div>
<?php echo do_shortcode( '[sidebarBanner chatbotType="' . get_post_meta( get_the_ID(), 'chatbot', true ) . '"]' ); ?>
<?php // echo do_shortcode( '[sidebarBanner chatbotType="' . get_post_meta( get_the_ID(), 'chatbot', true ) . '"]' ); ?>
</div>
</div>
6 changes: 3 additions & 3 deletions templates/content-single-videos.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<meta itemprop="url" content="<?= esc_url( get_permalink() ); ?>">
<span itemprop="publisher" itemscope itemtype="http://schema.org/Organization"><meta itemprop="name" content="LiveAgent"></span>
<?php get_template_part( 'lib/custom-blocks/compact-header', null, $page_header_args ); ?>

<div class="wrapper Post__container">
<div class="Post__content">
<div class="Content" itemprop="text">
Expand All @@ -52,7 +52,7 @@
</h3>

<?= do_shortcode( '[urlslab-generator id="' . get_post_meta( get_the_ID(), 'mb_videos_mb_videos_shortcode_id', true ) . '" videoid="' . get_post_meta( get_the_ID(), 'mb_videos_mb_videos_video_id', true ) . '"]' ); ?>

<div class="urlslab-video-transcript">
<h3><?php _e( 'Video transcript', 'urlslab' ); ?></h3>

Expand Down Expand Up @@ -86,6 +86,6 @@

</div>
</div>
<?php echo do_shortcode( '[sidebarBanner chatbotType="' . get_post_meta( get_the_ID(), 'chatbot', true ) . '"]' ); ?>
<?php // echo do_shortcode( '[sidebarBanner chatbotType="' . get_post_meta( get_the_ID(), 'chatbot', true ) . '"]' ); ?>
</div>
</div>

0 comments on commit 69c75fc

Please sign in to comment.