Tagged: avia editor, popup maker
-
AuthorPosts
-
September 24, 2024 at 6:25 pm #1467753
Hello,
I needed to insert a popup into my website. So I used the popup maker plugin and it worked without any problems. However, the available basic editor is very limited compared to AVIA,builder. I saw that Ismael in a support post had indicated a code to activate AVIA editor also in popup maker and I inserted it into the function.php. In fact, after this AVIA editor now works, but the rendering of the popup is practically empty.At the moment I have left the old popup active, but the new one candidati2024 is deactivated, but present among the existing ones.
Would there be a way to solve the problem?
Maybe I need to use a specific popup theme?
Below is the code that I inserted in function.phpThanks for your support
Best regards
Andreafunction avf_alb_supported_post_types_mod( array $supported_post_types )
{
$supported_post_types[] = “popup”;
return $supported_post_types;
}
add_filter(‘avf_alb_supported_post_types’,’avf_alb_supported_post_types_mod’, 10, 1);function my_custom_exec_sc_only( $exec_sc_only, $obj_sc, $atts, $content, $shortcodename, $fake )
{
/**
* Return if true – Enfold already requested an execution because of preview in backend
* Otherwise this is likley to be false.
*/if( true === $exec_sc_only )
{
return $exec_sc_only;
}
return true;
/**
* Make your checks here – make sure to return boolean true if you want to force execution
*
* Following is an example to allow it for all ajax calls.
*/
if( defined( ‘DOING_AJAX’ ) && DOING_AJAX )
{
return true;
}
return $exec_sc_only;
}
add_filter( ‘avf_alb_exec_sc_only’, ‘my_custom_exec_sc_only’, 10, 6 );- This topic was modified 2 months, 3 weeks ago by cuccarini.
September 25, 2024 at 6:06 am #1467775Hey cuccarini,
Thank you for the inquiry.
I saw that Ismael in a support post had indicated a code to activate AVIA editor also in popup maker
I don’t remember suggesting this, but it could work since the popup should be able to display the content of a single post or page. Where did you find the previous post? Could you provide a link to the previous post and the page where you’re testing the popup?
// https://docs.wppopupmaker.com/article/370-add-a-single-post-page-or-custom-content-type-to-a-popup
Best regards,
IsmaelSeptember 25, 2024 at 12:19 pm #1467801Hello Ismael,
below is the link to the post October 4, 2019 at 4:04 am with your code to activate the AVIA editor.
https://kriesi.at/support/topic/popup-maker-and-enfold-avia-layour-builder/Instead the popup built with AVIA editor is called “test” and the link is as follows:
https://www.federscacchilazio.com/wp-admin/post.php?post=5639&action=edit
In the following page you can verify the result, unfortunately an empty box.
https://www.federscacchilazio.com/test/PS why did you choose the photo of a harp seal? I don’t think you have that face. :-D
Thanks and best regards
AndreaSeptember 26, 2024 at 5:57 am #1467843Hi,
Thank you for the info.
We are not really sure what changed, but it looks like it’s no longer possible to render the content of the Advanced Layout Builder in the popup. Please try to use the default editor for now. We’ll update you once we found the issue.
Best regards,
IsmaelOctober 2, 2024 at 12:10 pm #1468264Hello,
I contacted popup maker support and asked them the problem of rendering content made with AVIA editor. I provided them with the credentials and they did some further investigation. Their conclusions are as follows.Hi Andrea,
We tried it out and we’re also unable to render the content built with Avia in our popups. When we searched for similar cases, it looks like it has been this way ever since.
Could you try reaching out to Avia if they have ideas as to why their content doesn’t show up in Popup Maker?
As an alternative, you can still use the standard Gutenberg Block Editor in our popups if you want to utilize columns.
You can enable the block editor by going to Popup Maker > Settings > Enable Block Editor Support.
Other page builders that still work with Popup Maker are Elementor (using template shortcodes), Divi, Beaver Builder, and WP Bakery Page Builder.
Let us know if you have other questions.In conclusion they also verified the incompatibility of the AVIA editor with the rendering of their plugin … but from what you wrote above there was a time when rendering worked. If we can figure out which version of Enfold and Popup Maker were the ones that worked, we will have a key to understanding the origins of the problem.
If we are able to find a solution, it is OK if not I would say that I have to abandon this path and switch to use the standard Gutenberg Block Editor in my popups. I tried to use the Gutenberg editor … now I understand the reason for the negative comments I had seen about it … compared to AVIA editor it is really bad! I was hoping it was something similar to AVIA or Elementor, but we are light years away. Yes, it is better than the standard editor but unfortunately it is not a nice choice! Well, I really hope I will find a better solution in the future.
Thank you for your support
AndreaOctober 4, 2024 at 3:38 am #1468389Hi,
Thank you for the update.
We are still not sure why the content from the Advanced Layout Builder is not rendering in the popup. For now, please try using the default editor or the shortcode wand if you need to include elements from the theme. Make sure that the avf_alb_exec_sc_only filter is updated in the functions.php file.
function avf_alb_supported_post_types_mod(array $supported_post_types) { $supported_post_types[] = 'popup'; // Use single quotes instead of fancy quotes return $supported_post_types; } add_filter('avf_alb_supported_post_types', 'avf_alb_supported_post_types_mod', 10, 1); function my_custom_exec_sc_only($exec_sc_only, $obj_sc, $atts, $content, $shortcodename, $fake) { return true; } add_filter('avf_alb_exec_sc_only', 'my_custom_exec_sc_only', 10, 6);
Best regards,
IsmaelOctober 9, 2024 at 12:38 am #1468679Ok,
you can close the ticket. Please let meknow it there are some news about this topic.
I would like to use the Advanced Layout Builder is not rendering in the popup maker if possible.Thanks and best ergards
AndreaOctober 9, 2024 at 6:09 am #1468689Hi,
Which elements or shortcodes are you trying to use? Most of the elements in the builder are available through the Shortcode Wand, with some exceptions such as full-width elements like Color Sections and Fullwidth Sliders. We’ll keep you updated if there are any changes regarding this.
Thank you for your patience.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.