Support Forum » User Profile

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Elementor Meta Box Group Skin and WPML issue #48587
    Marcus PottsMarcus Potts
    Participant

    Hi Peter

    Any sight of when this one might be fixed?

    Thanks as always
    Marcus

    in reply to: Elementor Meta Box Group Skin and WPML issue #48421
    Marcus PottsMarcus Potts
    Participant

    Hi Peter

    Thanks for coming back to me.

    Yes it does show as per your screen shot (with the type Loop Item). However if I click to edit with Elementor, no group fields are available to select in dynamic tags. So if I need to edit this skin or create a new skin I first have to deactivate WPML.

    Thanks
    Marcus

    in reply to: File uploads in cloneable groups in not showing in Rest #47671
    Marcus PottsMarcus Potts
    Participant

    Hi Peter

    Thank you for pointing me to that solution. I have registered a new REST field and retrieved the document details using your function which now outputs perfectly in my new field.

    Thanks
    Marcus

    in reply to: Trying to Debug Twig in Views Template #45734
    Marcus PottsMarcus Potts
    Participant

    Thank you Peter, that fixed it!

    in reply to: MB Relationships + Elementor Loops #44644
    Marcus PottsMarcus Potts
    Participant

    Hi Peter

    Thanks again for your response, I had already increased memory to 1024M and it blew it straight away.

    I'll look at alternate solutions.

    Thanks
    Marcus

    in reply to: MB Relationships + Elementor Loops #44633
    Marcus PottsMarcus Potts
    Participant

    Hi Peter

    Thanks for your speedy response. I have tried to follow the logic in the twig example:

    add_action('elementor/query/related_av_solutions', function($query) {
        $current_av_solution_id = get_the_ID();
    
        if ($current_av_solution_id && get_post_type($current_av_solution_id) === 'av_solution') {
        
            $connected_items = MB_Relationships_API::get_connected([
                'id' => 'posts_to_av_solution', 
                'from' => $current_av_solution_id, 
            ]);
            
            if (!empty($connected_items) && !is_wp_error($connected_items)) {
                $related_post_ids = wp_list_pluck($connected_items, 'ID');
               
                if (!empty($related_post_ids)) {
                    $query->set('post__in', $related_post_ids);
                    $query->set('orderby', 'post__in');
                } else {
                   
                    $query->set('post__in', [0]);
                }
            } else {
               
                $query->set('post__in', [0]);
            }
        }
    }, 10, 1);

    But it just blows my PHP memory limit. Any further help would be really appreciated.

    Thanks
    Marcus

    in reply to: Meta Box - Elementor Integrator - issues with single_image #39815
    Marcus PottsMarcus Potts
    Participant

    Hi David

    I had it on our backups. Send me and email address and I can let you have a copy.

    Thanks
    Marcus

Viewing 7 posts - 1 through 7 (of 7 total)