at path:
ROOT
/
wp-content
/
themes
/
sinatra
/
template-parts
/
content
/
content.php
run:
R
W
Run
content-404.php
1.27 KB
2024-10-16 22:06:05
R
W
Run
Delete
Rename
content-blog-horizontal.php
1.73 KB
2024-10-16 22:06:05
R
W
Run
Delete
Rename
content-blog-layout-1.php
1.02 KB
2024-10-16 22:06:05
R
W
Run
Delete
Rename
content-none.php
1.77 KB
2024-10-16 22:06:05
R
W
Run
Delete
Rename
content-page.php
725 By
2024-10-16 22:06:05
R
W
Run
Delete
Rename
content-sinatra-fullwidth.php
615 By
2024-10-16 22:06:05
R
W
Run
Delete
Rename
content-single.php
1.06 KB
2024-10-16 22:06:05
R
W
Run
Delete
Rename
content.php
980 By
2024-10-16 22:06:05
R
W
Run
Delete
Rename
error_log
up
📄
content.php
Save
<?php /** * Template part for displaying post in post listing. * * @link https://codex.wordpress.org/Template_Hierarchy * * @package Sinatra * @author Sinatra Team <hello@sinatrawp.com> * @since 1.0.0 */ ?> <?php do_action( 'sinatra_before_article' ); ?> <article id="post-<?php the_ID(); ?>" <?php post_class( 'sinatra-article' ); ?><?php sinatra_schema_markup( 'article' ); ?>> <?php $sinatra_blog_entry_format = get_post_format(); if ( 'quote' === $sinatra_blog_entry_format ) { get_template_part( 'template-parts/entry/format/media', $sinatra_blog_entry_format ); } else { $sinatra_blog_entry_elements = sinatra_get_blog_entry_elements(); if ( ! empty( $sinatra_blog_entry_elements ) ) { foreach ( $sinatra_blog_entry_elements as $sinatra_element ) { get_template_part( 'template-parts/entry/entry', $sinatra_element ); } } } ?> </article><!-- #post-<?php the_ID(); ?> --> <?php do_action( 'sinatra_after_article' ); ?>