我有php代码(ACF Pro插件代码)。我怎样才能将这段代码插入到我的Visual Composer中?长时间找不到解决方案,但现在对我来说很关键。将PHP代码插入Visual Composer
<?php if(have_rows('add_a_new_table')): ?>
<?php
while(have_rows('add_a_new_table')):
the_row();
// vars
$t_title = get_sub_field('t_title');
$t_pricing = get_sub_field('t_pricing');
$t_emails_number = get_sub_field('t_emails_number');
?>
<div class="col-sm-12 col-sm-4 text-center">
<div class="courses-column">
<div class="courses-column-inner">
<h3><?php echo $t_title; ?></h3>
<p style="font-size: 24px;">
<?php echo $t_pricing; ?>
</p>
<br>
<p style="font-size: 16px;">
<?php echo $t_emails_number; ?>
</p>
</div>
</div>
</div>
<?php endwhile; ?>
<?php endif; ?>
无法通过,而条件,因为如果&的简意识到这一点。行HTML和行JS对我来说也是无用的。
https://wpbakery.atlassian.net/wiki/pages/viewpage.action?pageId=524332 –