ACF使用教程Advanced custom fields

常用教程1 3,845阅读模式

ACF使用文章源自原紫番博客-https://www.yuanzifan.com/54554.html

if( have_rows('parent_field') ):
    while ( have_rows('parent_field') ) : the_row();
        $sub_value = get_sub_field('sub_field');
        // Do something...
    endwhile;
else :
    // no rows found
endif;
文章源自原紫番博客-https://www.yuanzifan.com/54554.html文章源自原紫番博客-https://www.yuanzifan.com/54554.html
 
    • 今日新鲜事 2

      文章不错支持一下吧

    发表评论

    匿名网友
    :?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:
    确定

    拖动滑块以完成验证