• if(!it_get_setting(‘loop_excerpt_disable’)) $out .= ‘<div class=”excerpt”>’ . it_excerpt($len_excerpt) . ‘</div>’;

    How would I change the above code included in my theme (Engine) loop, to show full post instead of excerpt.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p

    (@t-p)

    Is the name of the theme is “Engine” or “My Engine”?

    If it is “My Engine”, then, for better results, I recommend asking in this dedicated support sub-forum so its developers and users can help you with this: https://ww.wp.xz.cn/support/theme/my-engine

    as the code seems to be part of a string concatenation, you might need to post a larger section of the code to get useful suggestions.

    as a guess, try to replace the full section with:

    $out .= '<div class="content">' . apply_filters( 'the_content', get_the_content() ) . ' </div>';

    double check if your theme uses a specific CSS class for the content in other of its templates.

    [closed as duplicate – please continue with https://ww.wp.xz.cn/support/topic/theme-engine?replies=3 ]

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Posting Full post instead of excerpt code inside’ is closed to new replies.