Recursive ACF shortcode
adds recursive versions of Advanced Custom Fields (ACF) get_field() functrion and [acf] shortcode
by KDA Web Technologies, Inc. · github.com/kdaweb/acf_get_field_recursive · website
★ 2stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/kdaweb/acf_get_field_recursive/archive/refs/heads/master.zipFrom the readme
acfgetfieldrecursive
Adds 'acfrecursive' shortcode for use with Advanced Custom Fields (ACF)
This plugin adds a shortcode for use with Advanced Custom Fields (ACF) that
works like the 'acf' shortcode (e.g., calling getfield()); however, if the
requested field is empty, the parent of the given post will be examined for
said field. If the parent doesn't have a value, its parent (i.e., the
post's ancestors) are each examined until either a value is found or there
are no more ancestors to call. If nothing is found in the post or any of
its ancestors, false is returned.
This was originally based on Jacob Rudenstam's Github Gist posting
"get-field-recursive.php" at https://gist.github.com/jrudenstam/7551729
Read the full README on GitHub →
Releases
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.