Test2 for the Code Block Pro with Transposh

⌛Time it takes to read this article: < 1 minutes

update Final update date: July 13, 2025

The following block is "Code Block Pro", but "Use Textarea" is unchecked with the "Copy button".

php
						<h3><a href="<?php echo esc_attr( add_query_arg( $query_more, home_url( '' ) ) ); ?>">ブログ一覧</a></h3>
						<?php while ( $wp_query->have_posts() ) : $wp_query->the_post(); ?>
							<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
								<header class="entry-header">
									<h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
								</header><!-- .entry-header -->

								<?php if ( has_post_thumbnail() ) : ?>
									<p class="entry-thumbnail"><?php the_post_thumbnail( 'thumbnail' ); ?></p>
								<?php endif; ?>

								<div class="entry-content">
									<?php
									global $more;
									$more = 0;
									the_content();
									?>
								</div><!-- .entry-content -->

Leave a Reply