Support

Account

Home Forums Backend Issues (wp-admin) Rename Post Title in Relationship Field

Solving

Rename Post Title in Relationship Field

  • Hi,

    I am using the relationship field to build a daily specials food menu, I’ve used this on 3 other restaurant websites and it works great for their flow.

    However, with this new project, we won’t have featured photos to accompany the posts, so am concerned the author won’t be able to distinguish the difference, and constantly saving and hitting preview is counter productive.

    I was wondering if there were any hooks we could slightly modify the relationship field without editing the plugin 🙂

    I was hoping to add a price custom field inside the post title, this would really be useful.

    “Post Title Before”
    “Post Title After – $10”

    Does this make sense? Do you have any suggestions?!

    Thank You!

  • PS there is a data-id (post id) attribute, i could do a quick hack to query all posts and edit the titles with jQuery as a last resort 🙂

  • This filter lets you alter what is displayed in the relationship field for the title of the post https://www.advancedcustomfields.com/resources/acf-fields-relationship-result/

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

The topic ‘Rename Post Title in Relationship Field’ is closed to new replies.