Support

Account

Home Forums ACF PRO Customizing Site Identity thru ACF pro

Unread

Customizing Site Identity thru ACF pro

    • makuus

    • March 23, 2020 at 5:38 am

    In wp-admin/customize.php you have Site Identity section that includes: Logo, Site Title, Tagline and Icon fields.

    The site title and tagline I got working by creating the fields and adding this to functions.php

    update_option('custom_logo', get_field('veebilehe_logo', 'options'), true);
    update_option('blogname', get_field('veebilehe_pealkiri', 'options'), true);
    update_option('blogdescription', get_field('luhikirjeldus', 'options'), true);
    update_option('site_icon', get_field('veebisaidi_ikoon', 'options'), true);

    But I have no idea how to get the Logo and Icon. I created image types for them but no idea what the Return Format should be or if it’s even correct.

    Can anyone help?
    Thanks.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.