-1
이 두 PHP 함수 <?php the_field('city'); ?>
및 <?php the_field('country'); ?>
을 $city
및 $country
변수 대신 아래 함수에 추가해야합니다.이 기본 php 함수를 결합하십시오
<?php echo do_shortcode('[forecast location="' . $city . ' , ' . $country. '" caption="" numdays="3" iconset="Cartoon" class="css_table_class" cache="true"]'); ?>
내 PHP가별로 좋지 않은 도움을 주시면 감사하겠습니다.
감사