[Resolved] Create Elements via php in childtheme

Home Forums Support [Resolved] Create Elements via php in childtheme

Home Forums Support Create Elements via php in childtheme

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1250620
    Julian

    Hi there,

    is it possible to add elements via php in a child-theme functions.php?

    I use the same child-theme for a few websites and dont want to add the elements manually.

    I know that i can export / import the elements, but thats to manually either^^

    Best Regards,

    Julian

    #1250945
    David
    Staff
    Customer Support

    Hi there,

    Elements are a Custom Post Type – so they need to be imported like any other Post would be.
    Personally i would just package up my ‘starter’ site using a Duplicator plugin and import that for each new build.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.