Forum Replies Created

Viewing 1 replies (of 1 total)
  • I am having this same problem. The theme seems to default an addition of a featured image above the post title. I am extremely new to this and worried about messing with/moving code that I am not 100% certain about.

    Currently the post layout from top to bottom is:

    feature image
    date
    title
    author/page/tags/comments
    content

    I would like it to be:

    title
    feature image
    content
    author/page/tags/comment

    From other support threads it seems this is done by making a change to the loop but I am not sure where to make that change. Any help would be greatly appreciated. I will post my loop file below.

    A huge thank you to anyone willing to offer help here!!

    (Appearance – Editor- Loop.php)

    <?php
    /**
    * Template for generic post display.
    * @package themify
    * @since 1.0.0
    */

    // Enable more link
    if ( ! is_single() ) {
    global $more;
    $more = 0;
    }
    ?>

    <?php themify_base_post_before(); // hook ?>

    <article id=”post-<?php the_id(); ?>” <?php post_class( ‘clearfix’ ); ?>>

    <?php themify_base_post_start(); // hook ?>

    <?php themify_base_before_post_image(); // Hook ?>

    <?php if ( has_post_thumbnail() ) : ?>
    <figure class=”post-image”>
    ” title=”<?php the_title_attribute(); ?>”>
    <?php the_post_thumbnail( themify_base_get( is_single() ? ‘setting-single_layout_image_size’ : ‘setting-index_layout_image_size’, ‘large’ ) ); ?>

    </figure>
    <?php endif; // has post thumbnail ?>

    <?php themify_base_after_post_image(); // Hook ?>

    <div class=”post-content”>

    <time datetime=”<?php the_time(‘o-m-d’) ?>” class=”post-date”><?php echo get_the_date( apply_filters( ‘themify_loop_date’, ” ) ) ?></time>

    <?php themify_base_before_post_title(); // Hook ?>
    <h1 class=”post-title”>
    ” title=”<?php the_title_attribute(); ?>”><?php the_title(); ?>
    </h1>
    <?php themify_base_after_post_title(); // Hook ?>

    <?php if ( ! is_attachment() ) : ?>
    <p class=”post-meta”>
    <span class=”post-author”><?php the_author_posts_link(); ?></span>

    <?php the_terms( get_the_id(), ‘category’, ‘ <span class=”post-category”>’, ‘, ‘, ‘</span>’ ); ?>

    <?php the_tags( ‘ <span class=”post-tag”>’, ‘, ‘, ‘</span>’ ); ?>

    <?php if ( comments_open() ) : ?>
    <span class=”post-comment”>
    <?php comments_popup_link( __( ‘0 Comments’, ‘themify’ ), __( ‘1 Comment’, ‘themify’ ), __( ‘% Comments’, ‘themify’ ) ); ?>
    </span>
    <?php endif; //post comment ?>
    </p>
    <!– /.post-meta –>
    <?php endif; ?>

    <?php if ( is_singular() ) : ?>
    <?php the_content(); ?>
    <?php else: ?>
    <?php $entry_content_display = themify_base_get( ‘setting-default_archive_content’, ‘full’ ); ?>
    <?php if ( ‘full’ == $entry_content_display ) : ?>
    <?php the_content(); ?>
    <?php elseif ( ‘excerpt’ == $entry_content_display ) : ?>
    <?php the_excerpt(); ?>
    <?php endif; ?>
    <?php endif; ?>

    <?php edit_post_link(__(‘Edit’, ‘themify’), ‘<span class=”edit-button”>[‘, ‘]</span>’); ?>

    </div>
    <!– /.post-content –>

    <?php themify_base_post_end(); // hook ?>

    </article>
    <!– /.post –>

    <?php themify_base_post_after(); // hook ?>

Viewing 1 replies (of 1 total)