• I have read the previous “Not Working” topics . . .

    I was using the Dynamic Content plugin, but it was conflicting with the “Anywhere Elementor” plugin I am using for various repeater templates – so it is not currently enabled … which is why I was hoping THIS plugin would do the trick.

    I quadruple checked all of the fields and settings – all correct per instructions.

    I AM using various addon packs – including Elements Pack Pro, Unlimited Elements and Happy Addons. However, each of these plugins have spcific unique elements I need for the site I am developing.

    Is there any other kind of tweak or fix you can suggest to get the plugin to work as it should?

    (Keeping Fingers Crossed)

    • This topic was modified 3 years, 2 months ago by tacraw88.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter tacraw88

    (@tacraw88)

    Hello ?? . . . Anyone ??

    Additional Info:
    The plugin is set for a field type used within a section for a custom post type. I can’t imagine that should be an issue, but wanted to provide that additional info in case it is and needs to be fixed.

    • This reply was modified 3 years, 2 months ago by tacraw88.
    • This reply was modified 3 years, 2 months ago by tacraw88.

    @tacraw88 this is about action priority. We just wrote a quick fix on our side. In dynamic-countdown-with-acf-elementor.php add a slightly higher priority like this:

    add_action( 'init', function(){
        add_action( 'elementor/frontend/widget/before_render', function ( \Elementor\Element_Base $element ) {
    
            if ( "countdown"  != $element->get_name() ) {
                return;
            }
                   
            echo "<script>console.log('".$element->get_name()."')</script>";
    
            //Get the field specified on options page
            $countdown_date = get_field(get_option('dcae_kiiraklis94_acf_field'));
                   
            echo "<script>console.log('".$countdown_date."')</script>";
    
            //Do the thing
            $element->set_settings( 'due_date', date('Y-m-d H:i',strtotime($countdown_date))) ;
        }, 5, 1);
    });

    Note the , 5, 1); at the end of the the add_action function parmeters

    Thread Starter tacraw88

    (@tacraw88)

    Still doesn’t seem to be working.

    What does the ,5,1); at the end of the add-action function parameters signify?

    Is this something that needs to be custom modified?

    Again, I am trying to use this plugin/function within a repeater template within Anywhere Elementor Pro.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not Working – PLEASE HELP !!!’ is closed to new replies.