0
제목에서 알 수 있듯이 고급 사용자 지정 필드를 사용하여 "Item #"라는 필드를 만들었지 만 get_field ("item #") 함수를 사용할 때는 작동하지 않습니다. 나는 그것이 파운드 기호 때문에라고 확신한다.WordPress : 고급 사용자 정의 필드 - "#"문자가있는 필드, 표시 방법
이름을 바꾸거나이 작업을 수행 할 수있는 방법이 있습니까? 미리 감사드립니다! (, BTW 이름을 변경합니다을 "항목 민"엉망이 사용자 정의 분류 체계와 현재의 데이터를 가지고, 또는 ID를 기준으로 그 모든 연관?)
여기에 코드입니다 : 아마도
<?php if (is_page(19)) { $args = array("post_type" => "products", "posts_per_page" => "-1", "product category" => "Gas Turbine Hardfacing and Welding Wire"); } query_posts($args); if (have_posts()) : while (have_posts()) : the_post(); ?>
<tr>
<td><input type="checkbox" name="products-selected" value="<?php the_id(); ?>" /></td>
<td><?php echo get_field('item #'); ?></td>
<td><?php the_title(); ?></td>
<td></td>
<td></td>
</tr>
<?php endwhile; endif; ?>