Hello. Thank you for contacting the Toolset support.
Can you please share more details about what post relationship you created with what post type and what Elementor template you are using and share admin access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Also, any idea why this query filter does not work with third party post widgets like AE POST BLOCKS ADV?
==>
This question you will have to ask to Elementor support as you are using the Elementor hook.
This function works fine with regular post type relationships. But what about custom post type relationships?
It did not work when I modified the function for the custom post type relationship : 'numero-commentaire-de-lecture' where the relationship is between parent 'numero' and the children from CPT 'commentaire-lecture' (slug).
What am I doing wrong?
Finally it is working. I didn't set the correct settings on the widget!
I was looking for a third party widget query, if anyone needs it, this one worked for me:
function ae_ts_mod_elem_query_function2( $query_args ){