Support

Account

Home Forums ACF PRO ACF Image Field HTTPS/SSL

Helping

ACF Image Field HTTPS/SSL

  • When using the “image” type custom field, and also having Return Value of “Image URL”, and then in my template using <img src="<?php the_field('mycustomimage'); ?>">, it’s returning an http URL instead of an https URL, causing mixed content on my site. Other areas of the site are returning an https URL when I use wp_get_attachment_image_src(); for example.

    How do I get it to return an https URL?

  • You need to the value returned by WP for your site. This is usually done be changing the url of the site under WP settings.

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

The topic ‘ACF Image Field HTTPS/SSL’ is closed to new replies.