• hi there i installed duena and its an amazing theme.

    one thing i am struggling with and i have searched google a lot…im trying to get the full blog post to display on the homepage. I dont want to show just the excerpt and then read more. I want to display the full content of the post on the homepage..how can i do this..i also want to show the title of the post..help if i can do this ..the theme would be perfect..

    great theme!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi

    First off all I reccomed you to create your own child theme for Duena for making such changes. You can find tutorial on WordPress Codex

    Then you need to create in you child theme folder post-formats and copy into it file standard.php from Duena theme (it located in the post-formats directory).

    Open copied file and find next code there:

    <?php if ( 'false' != of_get_option('post_excerpt')) { ?>
    <div class="excerpt">
    <?php
    $excerpt = get_the_excerpt();
    if (has_excerpt()) {
    the_excerpt();
    } else {
    echo duena_string_limit_words($excerpt,55);
    }
    ?>
    </div>
    <?php } ?>
    <?php if ( 'false' != of_get_option('post_button')) { ?>
    <a href="<?php the_permalink() ?>" class="more_link"><?php _e('Read more', 'duena'); ?></a>
    <?php } ?>

    you can replace all this code with

    <?php the_content(''); ?>
    <?php
    wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'duena' ), 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) );
    ?>

    And you will have full post content on your home (blog) page

    Hi Andy – I did all of that and it didn’t work 🙁

    My website is: http://www.seabirdcreative.com

    The blog page is : http://www.seabirdcreative.com/thoughts

    Would you please help me? Let me know if you need more info.

    Thanks so much in advance.

    hi,i would like to do the same.Could you help me?
    i did also the replace but didn’t work

    I’d like to add that this did work for me.

    Now I’m wondering how I specify how many posts are shown on the main page. Can someone help with that?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘how do i display full text on the homepage’ is closed to new replies.