K
K
khodos_dmitry2018-10-07 12:30:37
WordPress
khodos_dmitry, 2018-10-07 12:30:37

How to use information from another when adding (updating) one WordPress post?

I have a custom record type "Banks". It has an arbitrary metafield "Name".
There is an arbitrary record type "Maps". When adding a card, you should select a bank from existing banks.
How to implement it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Igor Vorotnev, 2018-10-07
@HeadOnFire

One of the Relationship Fields in the ACF plugin (or equivalents, almost everyone has it).
Custom metabox into which we pull jars using WP_Query.

A
Alexander Sobolev, 2018-10-07
@san_jorich

If you have a Map at the forefront, you can make the Bank a taxonomy of the Map. In this case, you will not need ACF, and you can also safely change the name and other parameters of the bank)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question