Support

Account

Home Forums Front-end Issues Custom Google maps pin when calling a field group in the frontend

Unread

Custom Google maps pin when calling a field group in the frontend

  • I am trying to figure how can I replace default Google pin when I call ACF field group directly in my page.php. (somewhat close to the case described here) Here is the source I use to call the group:

                    <?php
    
                    acf_form(array(
                        'post_id'		=> 'new_post',
                        'field_groups'  => array( 72 ),
                        'new_post'		=> array(
                            'post_type'	=> 'post',
                            'post_status'	=> 'publish',
                        ),
                        'submit_value'          => '[+] Send',
                        'return'                => '/',
                        'html_submit_button'    =>  '<input type="submit" id="addsignal" value="%s" />'
                    ));
    
                    ?>

    Since I could not figure out how to pass the new pin icon to the Google Maps field with this syntax, I presume there might be something I can add to functions.php that will do the trick? I already tried what was described in the linked topic but with no result. For what it’s worth, I am not using the PRO version.

Viewing 1 post (of 1 total)

The topic ‘Custom Google maps pin when calling a field group in the frontend’ is closed to new replies.