Benutzerdefinierte Schleife und the_title ();

Ich habe benutzerdefinierte Schleife verwendet, um Beiträge zu verarbeiten, aber die Schleife kann nicht den richtigen Titel oder die benutzerdefinierten Felder erhalten. Ich benutze das ACF-Plugin

Das Seltsame ist, dass die Schleife den richtigen Inhalt durch the_content () bekommt; Es hat Probleme mit allem anderen.

Hier ist mein Code

https://wordpress.stackexchange.com/questions/170388/custom-loop-and-the-title/ https://wordpress.stackexchange.com/questions/170388/custom-loop-and-the-title/ 'members', 'posts_per_page' => -1, // Unlimited posts 'orderby' => 'title', // Order alphabetically by name ) ); /* On going work to reorganize the member part */ $web = array(); $cloud = array(); $prof = array(); foreach ($team_posts as $post) { setup_postdata($post); if ( get_field('group') == '1') { array_push($web, $post); } elseif ( get_field('group') == '2'){ array_push($cloud, $post); } else { array_push($prof, $post); } } function display($array){ foreach($array as $post): setup_postdata($post); $thumb_src = null; if ( has_post_thumbnail($post->ID) ) { $src = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'team-thumb' ); $thumb_src = $src[0]; } ?> 
https://wordpress.stackexchange.com/questions/170388/custom-loop-and-the-title/ <img src="https://wordpress.stackexchange.com/questions/170388/custom-loop-and-the-title/" alt="https://wordpress.stackexchange.com/questions/170388/custom-loop-and-the-title/, https://wordpress.stackexchange.com/questions/170388/custom-loop-and-the-title/" class="img-circle"> https://wordpress.stackexchange.com/questions/170388/custom-loop-and-the-title/ No Image https://wordpress.stackexchange.com/questions/170388/custom-loop-and-the-title/
https://wordpress.stackexchange.com/questions/170388/custom-loop-and-the-title/<?php the_title('

', '

'); ?> https://wordpress.stackexchange.com/questions/170388/custom-loop-and-the-title/ https://wordpress.stackexchange.com/questions/170388/custom-loop-and-the-title/ <a href="mailto:https://wordpress.stackexchange.com/questions/170388/custom-loop-and-the-title/"><img src=https://wordpress.stackexchange.com/questions/170388/custom-loop-and-the-title/> https://wordpress.stackexchange.com/questions/170388/custom-loop-and-the-title/
https://wordpress.stackexchange.com/questions/170388/custom-loop-and-the-title/

"Meet the individuals behind UWB CSS/Bio"

Professor

https://wordpress.stackexchange.com/questions/170388/custom-loop-and-the-title/

Cloud Computing Group

https://wordpress.stackexchange.com/questions/170388/custom-loop-and-the-title/

Web Group

https://wordpress.stackexchange.com/questions/170388/custom-loop-and-the-title/
https://wordpress.stackexchange.com/questions/170388/custom-loop-and-the-title/ https://wordpress.stackexchange.com/questions/170388/custom-loop-and-the-title/

Danke für die Hilfe!!

Solutions Collecting From Web of "Benutzerdefinierte Schleife und the_title ();"