
-
AuthorPosts
-
February 21, 2025 at 10:11 am #1477543
Hi
how can i switch from standard editor to ALB for many posts?
In bulk!There must be at least a way to do it via the database or php in the function.php.
regards
marcusFebruary 21, 2025 at 11:25 pm #1477587Hey MarcusJeroch,
We don’t have a PHP snippet for this, but this has worked well in the past:Best regards,
MikeFebruary 23, 2025 at 11:06 am #1477692Hi
Its not about getting a new page to start with ALB.
It is about “how can i switch from standard editor to ALB for many posts?
In bulk!”We are talking about switching posts which are already existing
marcus
PS: The link you provided does not even show the initial question.
How can i tell if it might help if there isnt any context?February 23, 2025 at 1:32 pm #1477696Hi,
The script will work on already existing pages, not just new pages, this is the only way we have.
Otherwise you can choose the ALB option and save the page as you edit each page in the future, this is how the script works.Best regards,
MikeFebruary 25, 2025 at 9:03 am #1477860The information if a page is ALB or standard must be stored somewhere.
Where?marcus
February 25, 2025 at 5:51 pm #1477925Hi,
I miss read your first post,
I see now that you want to convert, standard editor pages into the ALB.
If you try to convert standard editor pages into the ALB you will have errors, pages can not be automatically converted.To answer your question it is stored at _posts > post_type > avia_framework_post
I recommend that you not do this.Best regards,
MikeFebruary 26, 2025 at 9:22 pm #1478050Hi
“To answer your question it is stored at _posts > post_type > avia_framework_post”
So it is stored in the database.
To alter it with an SQL query/statement i need to know:
1: What is the string i need to look for? Is it “avia_framework_post”??
2: What is the string i need to convert to?“If you try to convert standard editor pages into the ALB you will have errors, pages can not be automatically converted.”
Why?regards
marcusFebruary 27, 2025 at 6:02 am #1478076Hi,
This is possible, but it will require modifications beyond the scope of support. Please note that pages/posts using the ALB also require these custom fields:
_aviaLayoutBuilder_active
_aviaLayoutBuilderCleanData
_avia_builder_shortcode_tree
_avia_sc_parser_state
_av_alb_posts_elements_state
_av_el_mgr_versionThese entries will not be generated without manually switching to the Advance Layout Builder.
Best regards,
IsmaelFebruary 27, 2025 at 12:53 pm #1478108Hi
what are the strings stored in the DB for both cases (ALB / standard)PS: I dont need support for it.
I just need to know and you are the devs so you should know your system.
Otherwise point me to the ducumentation
Thankx
marcusFebruary 28, 2025 at 5:29 am #1478193Hi,
The entries should have the following values, but they could differ depending on the content of the page. As mentioned above, you have to manually switch to the Advanced Layout Builder and update the page in order to generate these entries correctly. Do not add these entries manually to your database if you’re not sure what they do. If you need further assistance, please consider hiring a freelance developer or contacting our partner, Codeable.
— https://kriesi.at/contact/customization
_aviaLayoutBuilder_active – active
_aviaLayoutBuilderCleanData – [av_custom_layout link='alb_custom_layout,3385' av_uid='av-m7mv5xmb' sc_version='1.0']
_avia_builder_shortcode_tree – a:22:{i:0;a:3:{s:3:”tag”;s:16:”av_custom_layout”;s:7:”content”;a:0:{}s:5:”index”;i:0;}i:1;a:3: … incomplete
_av_alb_posts_elements_state – a:23:{s:11:”av_icongrid”;b:1;s:12:”av_one_third”;b:1;s:12:”av_one_fifth”;b:1;s:16:”av_custom_layout”;b:1;s:13:”av_layout_row”;b:1;s:17:”av_cell_one_third”; … incomplete
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.