CONTENTS
現在満枠のためご新規様のご相談は5月以降のご予約となります。

Advanced Custom Fields Proでoptionsを使う


<?php the_field('url_insta', 'option'); ?>

H1見出しテキスト

<?php the_field('site-h1', 'option'); ?>

会社名・商号(正式)


<?php the_field('companyname', 'option'); ?>

会社名・屋号(略式)

<?php the_field('storename', 'option'); ?>

代表名

<?php the_field('ownername', 'option'); ?>

電話番号

<?php the_field('tel', 'option'); ?>

FAX

<?php the_field('fax', 'option'); ?>

営業時間

<?php the_field('opentime', 'option'); ?>

定休日

<?php the_field('closeday', 'option'); ?>

郵便番号

<?php the_field('postcode', 'option'); ?>

住所

<?php the_field('address', 'option'); ?>

GoogleMAP

<?php the_field('mapiframe', 'option'); ?>

郵便番号(本社)

<?php the_field('postcode_company', 'option'); ?>

住所(本社)

<?php the_field('address_company', 'option'); ?>

対応エリア

<?php the_field('available_area', 'option'); ?>

対応エリア (都道府県名)

<?php the_field('available_prefecture', 'option'); ?>

対応エリア (都道府県のみなどの短縮バージョン)

<?php the_field('available_area_short', 'option'); ?>

県知事許可番号

<?php the_field('licensenumber', 'option'); ?>

メールアドレス

<?php the_field('mailaddress', 'option'); ?>

創業

<?php the_field('foundation', 'option'); ?>

設立

<?php the_field('found', 'option'); ?>

資本金

<?php the_field('capital', 'option'); ?>

決算期

<?php the_field('settlement', 'option'); ?>

業歴

<?php the_field('foundyear', 'option'); ?>

従業員数

<?php the_field('membernumber', 'option'); ?>

実績件数

<?php the_field('resultsnumber', 'option'); ?>

事業内容

<?php the_field('repeat-business', 'option'); ?>

<?php the_field('business', 'option'); ?>

保有資格

<?php the_field('repeat-qualification', 'option'); ?>
<?php the_field('qualification', 'option'); ?>

加盟団体

<?php the_field('groups', 'option'); ?>

主な取引先

<?php the_field('suppliers', 'option'); ?>

取引銀行

<?php the_field('banks', 'option'); ?>

LINE URL

<?php the_field('lineurl', 'option'); ?>

Instagram URL

<?php the_field('Instagramurl', 'option'); ?>

リフォームサミット URL

<?php the_field('summiturl', 'option'); ?>


<?php if(get_field('フィールド名')): ?>
  <?php while(the_repeater_field('フィールド名')): ?>
    <?php if(get_sub_field('フィールド名 リピート')): ?>
      <?php the_sub_field('フィールド名 リピート'); ?>
    <?php endif; ?>
  <?php endwhile; ?>
<?php endif; ?>
  • URLをコピーしました!

この記事を書いた人

埼玉県川口市で、自営業や起業家のホームページ制作を行っいます。
Web制作会社に7年務めたのち独立。Web制作歴12年、2500件以上のサイト制作に携わり、WordPressサイトを得意とし「作って終わり」にしない、結果が出るサイトであることを大切にしてます。「10人いれば10通りの最適なサイトがある」という信念のもと、型にハマったサイトづくりではなく、マーケティングから考えた、その人のビジネスにとって一番最適なサイトをご提案。技術面で不安のあるWebデザイナーのシステム面のサポートも行っております。

目次