✏️ 正在编辑: content-card-2.php
路径:
/home/h359620/public_html/wp-content/themes/datis/template-parts/project/content/content-card-2.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php ?> <div class="datis-projects projects-style-3 mb-3"> <div class="wrapper"> <div class="d-flex flex-row align-items-center gap-3"> <div class="thumbnail"> <?php if (has_post_thumbnail()) : ?> <a href="<?php the_permalink() ?>"> <?php the_post_thumbnail(); ?> </a> <?php else : ?> <a href="<?php the_permalink(); ?>"> <img src="https://placehold.co/95x95" alt="<?php the_title(); ?>"> </a> <?php endif; ?> </div> <div class="project-content d-flex align-items-center flex-row gap-4"> <div class="text-wrapper d-flex flex-column"> <a href="<?php the_permalink(); ?>"> <h3 class="project-title"><?php the_title(); ?></h3> </a> <p class="project-excerpt"><?php echo wp_trim_words(get_the_excerpt(), 12, '…'); ?></p> </div> <a href="<?php the_permalink(); ?>" class="read-more"> <svg width="37" height="37" viewBox="0 0 37 37" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M12.0779 12.0781H21.1364M12.0779 12.0781V21.1365M12.0779 12.0781L20.004 20.0042M24.1558 24.156L22.2687 22.2688" stroke="#0A2647" stroke-width="1.43809" stroke-linecap="round" stroke-linejoin="round" /> </svg> </a> </div> </div> </div> </div>
💾 保存文件
← 返回文件管理器