File manager - Edit - /home/boiitech111/autorollingright.com/wp-content/themes/carutos/partials/loop/content.php
Back
<?php /** * Post rendering content according to caller of get_template_part. * * @package carutos */ if (!defined('ABSPATH')) { exit; // Exit if accessed directly. } ?> <article <?php post_class(); ?> id="post-<?php the_ID(); ?>"> <div class="post-inner"> <?php if (get_the_post_thumbnail()): ?> <div class="post-thumbnail"> <a href="<?php the_permalink(); ?>"> <?php echo get_the_post_thumbnail($post->ID, 'full'); ?> </a> </div><!-- .post-thumbnail --> <?php endif; ?> <header class="entry-header"> <?php if (is_single()) { } elseif (is_front_page() && is_home()) { the_title('<h3 class="entry-title"><a href="' . esc_url(get_permalink()) . '" rel="bookmark">', '</a></h3>'); } else { the_title('<h2 class="entry-title"><a href="' . esc_url(get_permalink()) . '" rel="bookmark">', '</a></h2>'); } ?> <?php if ('post' == get_post_type()) : ?> <div class="entry-meta"> <?php carutos_posted_on(); ?> </div><!-- .entry-meta --> <?php endif; ?> </header><!-- .entry-header --> <div class="entry-content"> <?php the_content(sprintf( esc_html__('Read more<span class="screen-reader-text"> "%s"</span>', 'carutos'), get_the_title() )); wp_link_pages(array( 'before' => '<div class="page-links">' . esc_html__('Pages:', 'carutos'), 'after' => '</div>', )); ?> </div><!-- .entry-content --> </div><!-- .post-inner --> </article><!-- #post-## -->
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.07 |
proxy
|
phpinfo
|
Settings