Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1494134

    Hi Support,
    I am very happy with the new future Custom Layouts.
    I used ACF to make a new post type with several custom fields and used custom layouts to fill the custom post type. Looks perfect.

    However, when I import a larger amount of this custom post with WP all Import. The backend looks fine, all custom posts have been created but when I look at the frontend, the standard post template without ALB or ACF fields is shown.

    I did the ‘Activate Your Custom Post Types For ALB’ in the Enfold options. The post type is set to public.

    Can you help figure out what is going wrong?

    Thanks in advance,

    Ariane

    #1494154

    Hey ariane1001,

    Thank you for the inquiry.

    Custom layouts are a separate post type, so you’ll need to import those as well. The builder also relies on specific custom fields, so please make sure all custom fields or meta info attached to the posts are transferred too. Let us know the result.

    Best regards,
    Ismael

    #1494173

    Hi Ismael,

    Thanks for the quick reply. Can you give me any clue on how to do that. Where do i find the names of the custom fields attached to the post.

    Thank you very much in advance!
    Best regards,

    Ariane

    • This reply was modified 4 weeks, 1 day ago by ariane1001. Reason: added credentials
    #1494221

    Dear Ismael, support,
    I’ve been thinking about the problem and I think the problem has 2 parts:
    The import goes to the right custom post type, ‘portfoliobedrijven’ but in the post type the Avia builder is not activated. Secondly the builder should have the custom layout bedrijven/companytemplate in it.

    So how can I activate both automaticly when importing a new post, which custom fields should I use?

    thanks so much in advance,
    Ariane

    #1494222

    Hi,

    Thank you for the update.

    We may have misunderstood the inquiry slightly — for posts imported from another site, unfortunately, there is no way to automatically activate the Advanced Layout Builder or apply custom layouts. You’ll need to do this manually by editing the post, switching to the Advanced Layout Builder and then applying the custom layout. There is no option to activate the ALB for imported posts automatically.

    Best regards,
    Ismael

    #1494224

    Hi Ismael,
    I see, sorry to hear that. Looking around in the forum I found this post: https://kriesi.at/support/topic/importing-lots-of-data-to-scf-custom-posts-all-having-same-template/#post-1473195

    Is it possible this can work for my posts?

    Looking forward to hear from you.
    Regards,
    Ariane

    #1494356

    Hi,

    Thank you for the update.

    Yes, you’re correct. The code from the previous thread should activate the ALB for a specific post type, but you need to import all entries first. After that, add the code to the functions.php file, make sure to replace the post type slug with your own and then refresh the WordPress dashboard or visit the front end. This will execute the hook and create the required post meta info or custom fields for the custom posts. You can remove the code afterward.

    https://kriesi.at/support/topic/importing-lots-of-data-to-scf-custom-posts-all-having-same-template/#post-1473810

    Best regards,
    Ismael

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