plugin-icon

ACF Theme Code for Advanced Custom Fields

Automatically generate the code needed to implement Advanced Custom Fields in your themes.
Betyg
5
Senast uppdaterat
November 28, 2023
Version
2.5.6
Aktiva installationer
10K
ACF Theme Code for Advanced Custom Fields

The ACF Theme Code plugin automatically generates the code needed to implement Advanced Custom Fields in your themes.

Video note: This free version of ACF Theme Code now supports ACF 6.

Funktioner

Minska din utvecklingstid .

  • When you publish, edit or update an ACF Field Group, the code required to implement your fields is displayed in the Theme Code section at the bottom of your Edit Field Group page.
  • Use the clipboard icons in this section quickly copy and paste the code blocks into your theme templates.

Kvalité, flexibelt, anpassad kod.

Omfattande stöd för fält

  • This version of ACF Theme Code generates code for all the field types included in the free version of Advanced Custom Fields (see the full list of field types and settings below).
  • The code generated is specific to the field names and field settings you use for each of your fields.

ACF Theme Code PRO

ACF Theme Code PRO is the premium version of this plugin. It has the following additional features.

  • Support for all the complex field types that are included in Advanced Custom Fields PRO.
    • Repeater
    • Flexibelt innehåll
    • Galleri
    • Klona
  • The addition of a Theme Code Location Registration Tool to the ACF Tools page that generates code for registering locations.
    • Blocks
    • Alternativsidor
  • Support for more complex ACF Field Group Locations.
    • Block
    • Alternativsida
    • Widget
    • Taxonomi
    • Kommentar
    • Bilaga
    • Nuvarande användare
    • Användarformulär
  • Support for a range of third party fields.

Uppgradera eller läs mer om ACF Theme Code PRO.

ACF fields supported

This free version of ACF Theme Code generates code for the following ACF field types and settings:

  • Text
  • Textområde
  • Nummer
  • Intervall
  • E-post
  • URL
  • Lösenord
  • Image (return types Array, URL and ID)
  • File (return types Array, URL and ID)
  • WYSIWYG-redigerare
  • oEmbed
  • Select (values Single and Multiple, return types Value, Label and Array)
  • Checkbox (return types Value, Label and Array)
  • Radio Button (return types Value, Label and Array)
  • Button Group (return types Value, Label and Array)
  • Sant/falskt
  • Link (return types Array and URL)
  • Post Object (values Single and Multiple, return types Post Object and Post ID)
  • Page Link (values Single and Multiple)
  • Relationship (return types Post Object and Post ID)
  • Taxonomy (appearances Checkbox, Multi Select, Radio Buttons and Select, return types Term Object and Term ID)
  • User (values Single and Multiple, return types User Array, User Object and User ID)
  • Google Map
  • Datumväljare
  • Datum/tidväljare
  • Färgväljare
  • Grupp

Krav

  • Advanced Custom Fields eller ACF PRO (version 5.8.9 eller högre)

Tack

Thanks to all of our beta testers. Including Elliot Condon, Phil Smart, Richard Johnston and James Bundey.

Translations

Would you like to use the ACF Theme Code plugin in your native language? Then why not contribute a translation via translate.wordpress.org.

If you are new to translating plugins, there is a helpful First Steps guide available.

View the current state translations for ACF Theme Code.

Any and all assistance with translations is greatly appreciated. Please let us know if you need any help with submitting translations.

Gratispå Creator-paket
Aktiva installationer
10K
Testat upp till
6.4.5
Det här tillägget är tillgängligt för nedladdning och kan användas på din WordPress-installation som drivs på egen server.