Modifications to standard post layout

Home Forums Jevelin Theme Modifications to standard post layout

Home Forums Jevelin Theme Modifications to standard post layout

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • quiteright
    Participant

    I am trying to make amendments to the standard post layout to change the location of certain elements at the top of the page (post title & image) and to add a couple of custom fields.

     

    I’ve been trying to locate the file where I can edit the template, tried  content.php and single.php but couldn’t find the elements I’m looking for there. Can you please let me know where to look for those. I use child theme and will copy those over to the child folder

     

    Thank you

    Hi @quiteright,

     

    I hope you are well today and thank you for your question.

     

    In the theme content.php file you will find following code that displays post title and image.

     

    			<div class="post-meta-thumb">
    				<?php echo the_post_thumbnail( 'post-thumbnail' ); ?>
    				<?php echo jevelin_blog_overlay( jevelin_get_thumb( get_the_ID() ) ); ?>
    			</div>
    
    			<div class="post-content-container">
    				" class="post-title">
    					<h2>
    						<?php jevelin_sticky_post(); ?>
    						<?php the_title(); ?>
    					</h2>
    				

     

    Best regards,
    Shufflehound team

Viewing 2 posts - 1 through 2 (of 2 total)