HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: /home/wedotrades.co.uk/public_html/wp-content/themes/accelerate/content.php
<?php
/**
 * The template used for displaying page content in page.php
 *
 * @package    ThemeGrill
 * @subpackage Accelerate
 * @since      Accelerate 1.0
 */
?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<?php do_action( 'accelerate_before_post_content' ); ?>

	<header class="entry-header">
		<h2 class="entry-title">
			<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a>
		</h2>
	</header>

	<?php
	if ( 'post' == get_post_type() ) :
		accelerate_entry_meta();
	endif;
	?>

	<?php
	if ( has_post_thumbnail() ) {
		$image           = '';
		$title_attribute = get_the_title( $post->ID );
		$thumb_id        = get_post_thumbnail_id( get_the_ID() );
		$img_altr        = get_post_meta( $thumb_id, '_wp_attachment_image_alt', true );
		$img_alt         = ! empty( $img_altr ) ? $img_altr : $title_attribute;
		$image           .= '<figure class="post-featured-image">';
		$image           .= '<a href="' . get_permalink() . '" title="' . the_title_attribute( 'echo=0' ) . '">';
		$image           .= get_the_post_thumbnail( $post->ID, 'featured-blog-large', array(
				'title' => esc_attr( $title_attribute ),
				'alt'   => esc_attr( $img_alt ),
			) ) . '</a>';
		$image           .= '</figure>';
		echo $image;
	}
	?>

	<div class="entry-content clearfix">
		<?php
		global $more;
		$more = 0;
		the_content( '<span>' . __( 'Read more', 'accelerate' ) . '</span>' );
		?>
	</div>

	<?php do_action( 'accelerate_after_post_content' ); ?>
</article>