2
私はWordpressでこれらのコードと混乱しています。混乱が伴う!function_exists()|| !dynamic_sidebar()
これにより、私はfirst-footer-widget
を表示することができます。しかし
<div class="col-lg-6 col-md-6 col-sm-12">
<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('first-footer-widget-area')) ?>
</div>
<div class="col-lg-3 col-md-3 col-sm-6">
<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('second-footer-widget-area')) ?>
</div>
<div class="col-lg-3 col-md-3 col-sm-6">
<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('third-footer-widget-area')) ?>
</div>
、
私は削除 "!"それはまだ動作しています。
<div class="col-lg-6 col-md-6 col-sm-12">
<?php if (!function_exists('dynamic_sidebar') || dynamic_sidebar('first-footer-widget-area')) ?>
</div>
私は混乱します。