Support

Account

Home Forums ACF PRO Set parent page if custom field equals page title

Unread

Set parent page if custom field equals page title

  • Hello,

    Is it possible to automatically set/select a parent page when a custom field and page title are equal?

    Example:

    I have the following page hierarchy:

    Providers
      – Provider Page (user1)
       – Provider Package

    When a new page is created, and the custom field value is “user1” and there is a page with the title “user1”. Then the Provider Page, in this case “user1”, should automatically be set as the parent for the page that is created.

    I hope it is a bit clear because it is quite difficult to explain I notice myself.

    Is such a thing possible?

Viewing 1 post (of 1 total)

The topic ‘Set parent page if custom field equals page title’ is closed to new replies.