i使用此代码:
<?php ob_start(); echo \'<div class="judul"><h3 style="text-align: center;"><strong>Download <?php echo esc_html( $judul ); ?> Batch Kumpulan Subtitle Indonesia</strong></h3></div>\';
echo \'<p><div class="deps"><h4>\';
echo "<strong>Episode $bepisode</strong></h4>";
echo \'</div></p>\';
echo \'<div class="dfr">\';
echo "<strong>$bkualitas</strong><br/>";
echo \'</div>\';
echo \'<div class="dln">\';
echo " <strong>$blink</strong><br/><br/>";
echo \'</div>\';
echo \'<div class="dfr">\';
echo "<strong>$bkualitas2</strong><br/>";
echo \'</div>\';
echo \'<div class="dln">\';
echo " <strong>$blink2</strong><br/><br/>";
echo \'</div>\';
echo \'<div class="dfr">\';
echo "<strong>$bkualitas3</strong><br/>";
echo \'</div>\';
echo \'<div class="dln">\';
echo " <strong>$blink3</strong><br/><br/>";
echo \'</div>\'; $out = ob_get_clean(); ?>
然后在单个中使用此代码。php:
<?php echo do_shortcode( \'[restabs alignment="osc-tabs-center" responsive="false" tabcolor="#c1c1c1" tabheadcolor="#0a0a0a" seltabcolor="#8c8c8c" seltabheadcolor="#ffffff" tabhovercolor="#8c8c8c" responsive="true" icon="true" text="More"][restab title="Link Batch" active="active"]\' . $out . \'[/restab][/restabs]\' );?>
为什么没有元价值输出?
但不使用ob\\u get\\u clean();和shortcode,我可以得到如下输出:
ob\\u get\\u clean()吗;是否清除所有$值?或者$value不适用于短代码?