Abbreviated post on the front page of Twenty Eleven (4 posts)

  1. benjancewicz
    Posted 4 years ago #

    My developer did something that abbreviates the home page here: http://goo.gl/FFIqC

    That section of text in the yellow area.. that's what I'm trying to figure out how to not abbreviate.

    Here's what I've figured out:

    • The theme was based on Twenty Eleven
    • The section that pulls the text seems to be in a file called "home-page.php"
    • The part of that page that displays it seems to be <?php get_template_part( 'content', 'homepage' ); ?> (full code below):
    <div id="primary">
      <div id="content-shadow">
        <div id="homecontent" role="main">
          <?php while ( have_posts() ) : the_post(); ?>
          <?php get_template_part( 'content', 'homepage' ); ?>
          <?php //comments_template( '', true ); ?>
          <?php endwhile; // end of the loop. ?>
          <div id="address" role="main">
            <?php if ( is_active_sidebar( 'sidebar-2' ) ) : ?>
            <div id="first" class="widget-area" role="complementary">
              <?php dynamic_sidebar( 'sidebar-2' ); ?>
            <!-- #first .widget-area -->
            <?php endif; ?>
          <!-- #address -->

    Can anyone help me?

  2. Pioneer Web Design
    Posted 4 years ago #

    Why would you hire a dev. when above points to advanced techniques?

  3. benjancewicz
    Posted 4 years ago #

    Not sure what you mean...

    I can't get ahold of my developer, he's on vacation.

  4. Michael
    Forum Moderator
    Posted 4 years ago #

    this line:

    <?php get_template_part( 'content', 'homepage' ); ?>

    is pointing to a content-homepage.php template;

    find that and post its code here.

Topic Closed

This topic has been closed to new replies.

About this Topic