Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #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.php

    Thanks for your support
    Best regards
    Andrea

    function 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 1 week, 2 days ago by cuccarini.
    #1467775

    Hey 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,
    Ismael

    #1467801

    Hello 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
    Andrea

    • This reply was modified 1 week, 1 day ago by cuccarini.
    • This reply was modified 1 week, 1 day ago by cuccarini.
    #1467843

    Hi,

    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,
    Ismael

    #1468264

    Hello,
    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
    Andrea

    • This reply was modified 1 day, 10 hours ago by cuccarini.
    • This reply was modified 1 day, 10 hours ago by cuccarini.
    • This reply was modified 1 day, 10 hours ago by cuccarini.
    • This reply was modified 20 hours, 55 minutes ago by cuccarini.
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.