csv可视化

http://2068.online/wp-content/uploads/2024/09/table_1-en.csv

<?php
args = array(
    &#039;post_type&#039; => &#039;attachment&#039;,
    &#039;name&#039; => &#039;http://2068.online/wp-content/uploads/2024/09/table_1-en.csv&#039; // 替换为你的CSV文件名
);query = new WP_Query(args);
if (query->have_posts()) {
    while (query->have_posts()) {query->the_post();
        echo get_the_title(); // 文件名
        echo get_permalink(); // 文件URL
    }
}
wp_reset_postdata();
?>