• Resolved Galtlinedesign

    (@galtlinedesign)


    I want to create a custom url from a text field in ACF..

    For example Enter product name = Glass+Cup

    I want to create a url from that field and store it in ACF so I can access it on a page using the ACF field.

    /advancedsearch/?search=Glass+Cup#v_gallery

Viewing 1 replies (of 1 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    Unfortunately it’s looks like your question is more related to ACF development rather than the ACF Extended plugin.

    As an insight, you can construct your URL using the native get_field() function (See documentation). Usage example:

    $my_text = get_field('my_text');
    $url = '/advancedsearch/?search=' . $my_text . '#v_gallery';
    

    If you need further assistance with ACF development, I would recommend to check the ACF Support Forum, there’s a big community of developers which answer questions like this one in there.

    Hope it helps!

    Have a nice day!

    Regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Creating URL from ACF Field’ is closed to new replies.