Home › Forums › ACF PRO › Populate Checkbox Multisite Install › Reply To: Populate Checkbox Multisite Install
Some code used for displaying the promo would be helpful.
Without that.
1) Create another field to hold the custom title, make it conditional on the select field having a value
2)
$custom_title = get_field('custom_title_field');
// maybe get the promo to show
// somewhere in that code
if (!empty($custom_title) {
echo $custom_title;
} else {
echo $whatever_should_be_shown_normally;
}
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.