• dallasmoore

    (@dallasmoore)


    I have a custom post type ‘portfolio’ and in my single-portfolio.php the_title is showing but not the_content or the_post_thumbnail. Any idea why? I have checked that the single-portfolio.php is in fact the template being used. Any help is appreciated.

    Thanks,

    Dallas

    Website is at http://www.cherrysodagraphicdesign.com and the page is http://cherrysodagraphicdesign.com/portfolio/banana-box-logo/

    <?php get_header(); ?>
    <div id="content">
    <?php the_post_thumbnail(); ?>
    </div>
    <div id="dividervert"></div>
    <div id="side">
    <h1><?php the_title(); ?></h1>
    <p>If working, more content will appear below this. If not, this will be the last sentence.<?php echo get_the_content(); ?></p>
    </div>
    <?php get_footer(); ?>

The topic ‘Custom Post Single.php not showing the_content’ is closed to new replies.