• Resolved Roanna_Sold

    (@roanna_sold)


    Hello and first off thank you for the amazing Miniva theme.

    I am having one issue that I would like to resolve within the theme template without involving CSS, namely, in the posts display the text BEFORE the featured image and not underneath. I would be very happy if you could tell me what I need to change or replace to achieve this.

    Greetings and thanks for the support,

    Roanna.

Viewing 1 replies (of 1 total)
  • Theme Author Tajam

    (@tajam)

    The template file to display posts is in template-parts/content.php
    We recommend you use a child theme and then copy the file into your child theme directory in the same structure (your-child-theme-directory/template-parts/content.php)
    After you copy the file, you can modify the file in the child theme
    The code to display post content is

    <div class="entry-content">
    	<?php miniva_the_content(); ?>
    </div><!-- .entry-content -->

    To display the content before featured image, you need to move the code to above this part:
    <?php do_action( 'miniva_post_middle' ); ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Setting post content (text) above the featured image.’ is closed to new replies.