Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi.
    You need go to Apperance -> Editor in the Dashboard. Then open in Editor file standard.php.
    Find there next code

    if (has_excerpt()) {
     the_excerpt();
    } else {
     echo duena_string_limit_words($excerpt,55);
    }

    you can replace string
    echo duena_string_limit_words($excerpt,55);
    with
    the_content();
    in that case you will have full post content if not filled Excerpt field under the post edit box and your custom excerpt if this field filled.
    Or you can replace all code

    if (has_excerpt()) {
     the_excerpt();
    } else {
     echo duena_string_limit_words($excerpt,55);
    }

    with
    the_content();
    in that case you always will have full post content on blog page.
    To disable “Read more” button you need to go to Appearance -> Theme Options -> Blog and find there option Enable read more button for blog posts?

    Remember. Be careful with making changes in template files. Especially if you do not have much experience in WP templates editing

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @andy, How come you didn’t recommend setting up a Child Theme prior to those changes?

    Oh, sorry, yes, it’s my big mistake.

    @antoniocarloslima – in addition to my first post before making any changes, be sure to create and activate a child theme. You can find tutorial on The WordPress Codex: https://codex.www.ads-software.com/Child_Themes.

    When you create and activate you own child theme for Duena you need to copy from parent theme folder post-formats with single file – standard.php, then you can go to Appearance -> Editor and do all that I wrote in my first post

    Thread Starter antoniocarloslima

    (@antoniocarloslima)

    Grateful for your help!

    Thread Starter antoniocarloslima

    (@antoniocarloslima)

    Grateful!

    Hello, I don’t know if the theme was updated since this post or not, but I have the same need and when I look for the code suggested by user Andy, I do not find the code. In fact there is only one mention of ‘excerpt’ in the entire editor and isn’t anything like that.

    How do I show my full posts and not my excerpts?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Excerpt’ is closed to new replies.