ACF to Post
WordPress plugin to create Flexible layout with only PHP and automatically add fields to post object
by Matthew Schroeter · github.com/sincspecv/wp-acf-to-post · website
★ 1stars
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/sincspecv/wp-acf-to-post/archive/refs/heads/master.zipFrom the readme
ACF To Post
https://thefancyrobot.com
ACF to Post was started as a way to get ACF fields into the post object, but is becoming so much more than that.
- ACF fields automatically added to post object. Simply use $post-fields to access all of your ACF fields data.
- Create ACF fields in a modular/reuseable way using code. No need for the cumbersome ACF GUI.
- Automatically sanitize your ACF fields without littering your template files with sanitization functions (NOTE: this feature is still in development)
Getting Started
ACF to Post is currently in alpha. There is no guarantee that it will work. DO NOT USE IN PRODUCTION.
ACF to Post is a WordPress plugin. Just add the /acf-to-post/ directory to your /wp-content/plugins/ directory and activate the plugin in the WordPress admin.
Bread and Butter
The main feature of the plugin is adding ACF fields to the post object. To make this work all you have to do is install and activate the plugin, then you can access all of your fields with $post-fields.
Sanitation
At this time only text and URL field types are sanitized. More fields and customibility of this feature are at the top of the list of features to finish developing.
Reusea
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| v0.2.0 | Jul 13, 2023 |
| v0.1.7 | May 4, 2022 |
| v0.1.6 | Sep 15, 2021 |
| v0.1.5 | May 5, 2021 |
| v0.1.4 | Sep 14, 2020 |
| v0.1.3 | Apr 23, 2020 |
| v0.1.2 | Apr 9, 2020 |
| 0.1.1 | Mar 13, 2020 |
| 0.1.0 | Feb 26, 2020 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.