1
0

page-followVideos.php 994 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. /**
  3. Template Name: 哔哩哔哩追剧模板
  4. */
  5. get_header();
  6. ?>
  7. <meta name="referrer" content="same-origin">
  8. <style>
  9. .site-content{max-width:1280px}
  10. .comments{display: none}
  11. </style>
  12. </head>
  13. <?php while(have_posts()) : the_post(); ?>
  14. <?php if(!iro_opt('patternimg') || !get_post_thumbnail_id(get_the_ID())) { ?>
  15. <span class="linkss-title"><?php the_title();?></span>
  16. <?php } ?>
  17. <article <?php post_class("post-item"); ?>>
  18. <?php the_content(); ?>
  19. <section class="bangumi">
  20. <?php if (iro_opt('bilibili_id') ):?>
  21. <div class="row">
  22. <?php
  23. $bgm = new \Sakura\API\Bilibili();
  24. echo $bgm->get_bfv_items();
  25. ?>
  26. <?php else: ?>
  27. <div class="row">
  28. <p> <?php _e("Please fill in the Bilibili UID in Sakura Options.","sakurairo"); ?></p>
  29. </div>
  30. <?php endif; ?>
  31. </section>
  32. </article>
  33. <?php endwhile; ?>
  34. <?php
  35. get_footer();