现在我添加了 css,PHP 不会显示的这段代码有什么问题?
$args = array(
'meta_key' => 'anniversary_date',
'meta_value' => 0,
);
$user_query = new WP_User_Query( $args );
$users = $user_query->get_results();
foreach( $users as $user ):
echo "<div class=\"anniversary-output\">"$user->display_name"</div>";
echo "<div class=\"anniversary-output\">will be celebrating their anniversary on </div>";
echo "<div class=\"anniversary-output\">" get_user_meta( $user->ID, 'anniversary_date', true )"</div>";
endforeach;