• Hi!

    The Syntac theme I’m using won’t allow a full post to show on the “blogs” page. My site is dev.craigscales.com.

    Any ideas? My theme seems to be built differently than what most of the forums are saying should be the solution…

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • It’s difficult to give you exact advice without seeing your code, since your code could be written one of many ways.

    On the index.php file of your theme, see if you can find this somewhere in the code:

    get_the_excerpt();

    Or maybe this:

    the_content

    Copy and paste the lines of code that contain this (and a few lines above and below), and maybe I can help.

    Thread Starter CraigScales

    (@craigscales)

    Chris,

    Thank you so much for responding!! Neither of those lines of code are in my theme’s index.php file which I’ll post below. Any idea where to go from here?

    — index.php code begins —

    <?php
    /**
    * Front to the WordPress application. This file doesn’t do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    *
    * @package WordPress
    */

    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @var bool
    */
    define(‘WP_USE_THEMES’, true);

    /** Loads the WordPress Environment and Template */
    require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ );

    — index.php code ends —

    Looks like the next step would be to look for either of those pieces of code in the theme’s file named wp-blog-header.php

    I’m guessing they won’t be in there either, though, so if not, post that file’s contents as well and I’ll continue to help you track down the right file.

    you seem to be looking at the wrong index.php;

    look at the one in /wp-content/themes/yourthemename

    Thread Starter CraigScales

    (@craigscales)

    Ah! Thank you both!

    I found the right doc but playing around with the code I haven’t managed to do anything yet but create a blank screen. Does any of the code below make sense? As always, immensely appreciate any and all help you can provide!!

    <!– Post Preview–>
    <div class=”post-preview-content-box”>
    <header class=”post-header”>
    <h2>” rel=”bookmark”><?php the_title(); ?></h2>
    <span class=”date”><i class=”fa fa-book”><span><?php echo get_the_date(‘F j, Y’) ?></span></i></span>
    <span class=”author”><i class=”fa fa-user”><span><?php the_author(); ?></span></i></span>
    <span class=”comments”>
    <i class=”fa fa-comment”><span>
    <?php comments_popup_link(__( ‘No comment’, ‘jd_framework’ ),__( ‘One comment’, ‘jd_framework’ ), __( ‘% comments’, ‘jd_framework’ ) ); ?>
    </span></i>
    </span><!– .comments-link –>
    </header>

    <?php if ((function_exists(‘has_post_thumbnail’)) && (has_post_thumbnail())) : ?>
    <div class=”image”>
    “><?php the_post_thumbnail(); ?>
    </div><!–slider_image–>
    <?php endif; ?>

    <!– Post Preview Content –>
    <?php the_excerpt() ?>
    </div>
    </article>

    <div class=”clear”></div>

    <?php endwhile; ?>

    </div><!– / Posts –>

    Change this:

    <?php the_excerpt() ?>

    To this:

    <?php the_content(); ?>

    Thread Starter CraigScales

    (@craigscales)

    Thanks Chris! That worked like a charm.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Make Theme Show Full Post instead of Excerpts’ is closed to new replies.