ACF Views

Description

Display posts and custom fields using shortcodes.

Demo import lets you get started in seconds.

Important! “ACF Views” plugin requires Advanced Custom Fields plugin to be enabled on your website (either Free or Pro version).

🌟 Display posts and custom fields

Solve all these scenarios without coding.

Nearly all plugins use Custom Post Types (CPT) to store their data. Plugins like WooCommerce call it Products, whatever their called the ACF Views plugin supports it all.

🕗 Less time with less effort

Better than coding. See why here.

  • Select fields from a list, no need to worry about their names and return types
  • Markup auto generated uses BEM method to avoid conflicts
  • UI to define selection filters, no need to worry about DB query arguments
  • Editing theme templates via FTP is in the past
  • CSS and JS code can be added without hassle
  • Built-in features, like pagination to save hours of coding

💡 How it works

View for ACF fields
Create a View and assign one or more custom fields, our plugin then generates a shortcode that you’ll use to display the field values to users. Style the output with the CSS field included in every View.

Card for post selections
Create a Card and assign posts (or CPT items), choose a View (that will be used to display each item) and our plugin generates a shortcode that you’ll use to display the set of posts. The list of posts can be assigned manually or dynamically with filters.

📚 Extensive Docs and Friendly Support

Our YouTube channel showcases the use of our plugin and its features, making it easier for new users to get started. See our Docs for step by step guides and for information about customization.
Questions about the Basic ACF Views plugin are handled through the support forum. Customers with an active Pro license have personal support via our contact form.

Visit our website to get more information.

📢 Powerful features

  • Display built-in post fields (like title or thumbnail) along with ACF fields
  • Display post A in post B with its fields
  • Define custom CSS and JS
  • No style conflicts due to BEM method used
  • Combine ACF fields from two different field groups
  • Restrict visibility to specific user roles

🎯 High Performance

Every wrapper has some overhead. We do our best to make this number as small as possible. One unique ACF View/Card on a page would only effect this by 0.01 seconds* overhead compared to the usual way with coding. It’s impossible to notice these tiny numbers visually without testing it.
*More about the test here.

Get more with Pro

Do you need more? We have a Pro version with extra features:

  • Edit HTML Markup.
  • Filter posts by meta and taxonomies. Use AJAX pagination
  • Repeater field type
  • Add Custom Gutenberg blocks
  • Add plugin’s shortcodes to pages/CPT items without code editing

See tutorials on our youtube channel.

Video overview

Screenshots

  • Overview page takes you through all the main points
  • Get a basic setup in seconds with Demo import
  • Views list management via the familiar interface
  • Assign multiple fields within your View
  • Advanced tab allows you to add Custom CSS/JS Code
  • Display a set of posts with a Card
  • Posts can be filtered, sorted and styled

FAQ

Supported field types

All field types with values are supported.

Basic group

  • Text
  • Textarea
  • Number
  • Range
  • Email
  • Url
  • Password

Content group

  • Image
  • File
  • Wysiwyg
  • Oembed
  • Gallery

Choice group

  • Select
  • Checkbox
  • Radio
  • Button Group
  • True false

Relational group

  • Link
  • Post Object
  • Page Link
  • Relationship
  • Taxonomy
  • User

JQuery group

  • Google Map
  • Date Picker
  • Date Time Picker
  • Time Picker
  • Color Picker

How to create an ACF View

Create ACF View item to select target ACF fields and copy the shortcode to display field values for a specific post/page/CPT item.

  1. Setup Fields in your Advanced Custom Field Group
  2. Create an ACF View and select target fields (they can be from different field groups)
  3. Copy and paste the shortcode in the target place (like a page or post, WooCommerce product…)
  4. Make sure the chosen fields are filled at the target object. By default, field values will be read from the current object where the shortcode was pasted. To show another object’s data use the special shortcode argument (object-id).

That’s it! Now you can visit the frontend, your view will get field values properly (depending on a field type), and will automatically insert an HTML markup, that you can style with CSS (using assigned or built-in view classes).
You can restrict access to the ACF View by using user-with-roles=”ROLE1,ROLE2″ user-without-roles=”ROLE1,ROLE2″ shortcode arguments.

How to create an ACF Card

Create ACF Card item to choose a set of posts (or CPT items) and paste the shortcode in a target place to display the posts with their ACF fields (which fields are printed depending on a selected ACF View in the Card settings).

  1. Setup an ACF View following the guide above
  2. Create an ACF Card, choose a target ACF View and setup post filters (like post type) or manually assign posts
  3. Copy and paste the shortcode in the target place (like a page or post)

That’s it! Now you can visit the frontend, your view will get posts and display them, using the ACF View, now you can style output as grid/list/whatever with CSS (visit an ACF Card Advanced tab).
You can restrict access to the ACF Card by using user-with-roles=”ROLE1,ROLE2″ user-without-roles=”ROLE1,ROLE2″ shortcode arguments.

Reviews

November 29, 2022
Thanks for the plugin, I used it to make some post grids. Easy enough to learn too.
June 13, 2022
Only one shortcode for all the fields you want to use, it just makes sense. It allowed me to add my bulletin message in my blog sidebar. Exactly what I needed.
Read all 4 reviews

Contributors & Developers

“ACF Views” is open source software. The following people have contributed to this plugin.

Contributors

Translate “ACF Views” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.7.19 (2022-11-23):

  • Updated YouTube video link

1.7.18 (2022-11-22):

  • Improved dashboard links (supporting of custom site urls, like wp.org/wordpress)

1.7.17 (2022-11-22):

  • Improved UX (labels)
  • Improved dashboard links (supporting of custom site urls, like wp.org/wordpress)

1.7.16 (2022-11-15):

  • Improved WooCommerce supporting (product loops)
  • Updated Readme, Overview page

1.7.15 (2022-11-08):

  • Improved UX (more read more links)

1.7.14 (2022-11-04):

  • View : improved author, image field types support
  • View : added taxonomies support

1.7.13 (2022-11-03):

  • Fixed bug with missing fields

1.7.12 (2022-11-02):

  • Improved code : no PHP warnings on the ACF options page
  • Readme

1.7.11 (2022-11-01):

  • View : supporting of the google map field
  • UX : links to Docs

1.7.10 (2022-10-28):

  • Bug fixed : automatic deactivation on activation of some plugins
  • UX improvement : removed automatic redirection to the Overview page
  • More supported field types : oembed, gallery, button_group, post_object, relationship, taxonomy, user

1.7.0 (2022-10-27):

  • View, Card : MountPoints feature
  • View, Card : improved CSS shortcuts

1.6.17 (2022-10-24):

  • Updated readme
  • Updated field labels

1.6.13 (2022-10-21):

  • Performance : improved caching

1.6.12 (2022-10-21):

  • Copy to clipboard : improved working on HTTP protocol, fixed the roles shortcode copying

1.6.11 (2022-10-21):

  • Copy to clipboard : improved working on HTTP protocol

1.6.10 (2022-10-21):

  • Demo import : fixed a bug
  • Gutenberg block feature : improved notice
  • Improvement : removed double slashing for View/Card fields in DB

1.6.0 (2022-10-21):

  • Performance improving : View/Card settings now in JSON from post_content instead of using postMeta
  • Gutenberg block feature : fixed a bug

1.5.10 (2022-10-17):

  • Card Shortcodes postbox : fixed wrong argument name
  • ACF dependency : improved links (to the local add-plugin page)
  • Improved redirection after activation (to use TRANSIENTS)
  • Automatic deactivation one of instances when both Basic & PRO activated
  • Added information about restricting access to View/Card by user roles
  • Added escaping output of plain field types
  • Improved import

1.5.0 (2022-10-13):

  • Downgraded ACF dependency from PRO to Basic
  • New shortcode arguments : user-with-roles, user-without-roles
  • Fixed ImageSize for repeater fields

1.4.10 (2022-10-12):

  • View : preview feature
  • Card : preview feature, custom variables filter
  • Improved ‘ACF PRO’ dependency notice

1.4.0 (2022-10-10):

  • View : reordered fields (new tab)
  • View : image size field : dynamic list instead of hard coded, $Post$ thumbnail support

1.3.1 (2022-10-04):

  • View : improved Gutenberg block description
  • Toolbar improved
  • Code structure improved
  • Filters added

1.3.0 (2022-09-30):

  • Backend optimization
  • Card : fixed CSS classes field
  • Card : new tab – “Layout”
  • View : improved UX (field settings is displayed only for specific field types)
  • View&Card : disabled autocomplete

1.2.1 (2022-09-28):

  • Overview page content
  • Demo imported error fixed
  • Demo import improved (added ACF Card)

1.2.0 (2022-09-27):

  • Card markup preview field
  • Card no posts found message
  • Preview of PRO fields
  • Admin Table bug fixed (select all)
  • clone item feature improved

1.1.1 (2022-09-25):

  • Markup and other improvements

1.1.0 (2022-09-20):

  • Markup improvements

1.0.11 (2022-09-19):

  • ACF Cards, readme

1.0.10 (2022-09-09):

  • Readme, assets

1.0.9 (2022-09-09):

  • Minor improvements, readme

1.0.8 (2022-09-01):

  • Improved code editor

1.0.7 (2022-08-31):

  • JS code feature
  • Link and Page_link field types

1.0.6 (2022-07-30):

  • Code improving

1.0.5 (2022-06-24):

  • Demo import feature

1.0.4 (2022-06-18):

  • Video review

1.0.3 (2022-06-09):

  • Readme

1.0.2 (2022-06-09):

  • Plugin’s version

1.0.1 (2022-06-09):

  • Screenshots, plugin’s version