lucasstark / acf-child-post-field Goto Github PK
View Code? Open in Web Editor NEWAdds the ability to edit related posts directly from a parent post.
License: GNU General Public License v3.0
Adds the ability to edit related posts directly from a parent post.
License: GNU General Public License v3.0
Hi,
I don't understand how I use the plugin.
I have set up a child-parent relationship with CPT-UI and I have installed your plugin and ACF (free). I don't find an option to edit childs via ACF. Is there a how-to guide?
Thank you and best regards
Julian
It would be awesome if one could bind existing posts, similar to how Relationship field works. Once those existing posts were added (maybe through a search interface above the child post list) they could then be edited in the child post field. The question is then: Should you be able to bind a post to mulitple child fields (one-to-many as opposed to one-to-one relationship)? I think it should be possible.
Create two functions to query a posts children and to query a posts parents.
Local stack is Pressmatic with Nginx, MariaDB ad PHP 7.0.3. I'm building a multisite network.
I installed the plugin. It activated fine. After I used it and finished setting up a field how I wanted it to be, I received the following errors: http://drop.rusty.dog/hrUy and http://drop.rusty.dog/hrXW I was also redirected to the blog post list screen.
When revisiting the ACF field group, the same PHP error was present. I disabled and deleted the plugin until it's ironed out.
When adding child-posts, the wpml-table icl_translations isn't populated.
I think using wp_insert_post()
should be enough,
but somehow it dosn't work.
Think this is a wpml-bug, but report it here, as more user of this addon my trip over it.
a workaround to make it populate is to call the method:
global $iclTranslationManagement;
$iclTranslationManagement->add_missing_language_information();
Create an option to automatically delete the child post when it is removed from the parent. First thought on UX is to have a modal prompt asking if they would like to unlink the post or remove it completely. The answers to this question will need to be stored in a field that is passed back to the update_value ACF function on the field so the correct action can be taken.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.