Support

Account

Home Forums Backend Issues (wp-admin) Trying to add another tag field in ACF

Helping

Trying to add another tag field in ACF

  • Howdy, all. I’m trying to add a field where I can add another location by using tags. So I have the normal field in the admin panel where you enter tags, but then I would like to have a different place to add them in, too.

    Currently, what I have is:

    $location1 = get_field('other_location_1'); ?>
    if(get_field('other_location_1')) {
    
    echo '<a href="' . site_url('/tag/').$location1 . '" style="text-transform: Capitalize;">' . $location1 . ', Arizona</a>';
    }
    else {
    echo "<span class=\"font\">No other location specified</span>";
    }

    This shows up as it should, but it’s not exactly tying itself in to the normal tag structure. I’m not quite sure how to work this but hoping someone out there might?

    Thanks in advance!

  • Still hoping for a little help on this if it was clear. If you need more details, let me know! Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.