Viewing 1 to 2 of 2 items
Tag Archives: advanced custom fields

Post type selector for Advanced Custom Fields

As seen on Github: https://github.com/thomasdebruin/acf-post-type-selector Plugin Copy the ‘acf-post-type-selector’ folder into your plugins folder Activate the plugin via the Plugins admin page Include Copy the ‘acf-post-type-selector’ folder into your theme folder (can use sub folders). You can place the folder anywhere inside the ‘wp-content’ directory Edit your functions.php file and add the code below (Make  Full Article…

0

Advanced Custom Fields – Shortcodes

Here’s how it works: [acf field=”{$field_name}”] or: [acf field=”{$field_name}” post_id=”{$post_id}”] or to get a value from an ‘options’ page use this: [acf field=”no_donations_notice” post_id=”option”]

0