This support ticket is created Il y a 5 années et 8 mois. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
I'em trying to use API to show view.
On my function file i have this code :
test();
function test() {
$filtered_posts = get_view_query_results( 5333 );
//print_r($filtered_posts);
foreach ( $filtered_posts as $filtered_post ) {
//$lien = types_render_field( "pt-theme", array('id'=>$filtered_post->ID, 'output'=>'raw'));
}
print_r($filtered_posts);
}
And on my site i have an empty array.
Strange. Because when i use the same view on the front it is working :lien caché
Well - I can tell you once I can review your current setup.
*** 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.
Is it possible for you to disable the cache untile I work on this issue, as it seems cache issue that is why changes I make do not apply or I see strange results.