• Resolved wizofaus

    (@wizofaus)


    When editing “posts”, the Screen Options includes the ability to turn on my custom field groups and confirm that the custom field “title_custom” has the expected value. But when editing a “page” this is not available, and yet it’s exactly a page that I need to modify this custom field metadata value for.
    I’m not actually sure what set this metadata value in the first place but the theme we’re using tries to use the title_custom field for what to show in the title, even if we decide we want to change the title (I did then tweak the theme not to do this, but I’m still curious what this metadata is intended for and why I can’t seem to set it myself).

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

    (@hwk-fr)

    Hello,

    Thanks for the feedback! It looks like your question is related to ACF and not ACF Extended tho. In order to display your field group in multiple post types like “Posts” & “Pages”, you’ll have to set the Field Groups locations for that Post Types using the “OR” condition. See screenshot: https://i.imgur.com/o4DmNEn.png

    For further information about Field Group settings, please check the official ACF documentation: https://www.advancedcustomfields.com/resources/creating-a-field-group/

    If your question is about the ACF Extended plugin, please share a screenshot of your “Page” edit screen & your Field Group screens, because I’m not really sure to fully understand it.

    Have a nice day!

    Regards.

    Thread Starter wizofaus

    (@wizofaus)

    Thanks, that was exactly the problem – needed to change the location rules for the field group. Actually the fact that I had to install a plug-in and create a field group at all just to change the value of an existing custom field seemed quite odd to me, how did it get a value in the first place??
    Anyway all good.

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    I’m glad to hear that you fixed your issue. Well, the ACF Field Group Location is a native ACF feature. ACF Extended is just a plugin that adds new features to ACF.

    You may want to look at your theme documentation, maybe it has its own way to deal with custom fields?

    Also you may want to know that when you install ACF, it removes the native WordPress custom field metabox out of the box (you can revert that behavior if you want to). See ACF update note: https://www.advancedcustomfields.com/blog/acf-pro-5-5-13-update/

    Maybe you’ve set that value using the native WordPress custom fields metabox, and then installed ACF which hides that metabox.

    Have a nice day!

    Regards.

    Thread Starter wizofaus

    (@wizofaus)

    Ah ok, I didn’t realise that, this was all set up well before I came along, but it now makes some sort of sense re the ACF plug-in hiding the default custom field editing, as I thought I was going crazy trying to understand why I couldn’t see the options that all these online guides were telling me to use to reveal custom fields!

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Yep, you can use the following code to show the native WP metabox while using ACF:

    add_filter('acf/settings/remove_wp_meta_box', '__return_false');
    

    Regards.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Can’t view custom fields in “Edit Page” screen’ is closed to new replies.