dustyhawk
asked 11 years ago

how do i use the excerpt section so that on the main page it will read ” something something something” instead of the original post?

3 Answers
DominicStaff
answered 11 years ago

Currently, my theme does not yet support this problem.

Regards,
Dominic

dustyhawk
replied 11 years ago

ahh blimey.

zenstrategist
replied 11 years ago

Dusty, you know the WP editor has the “more” tag to break the post into excerpts?

DominicStaff
answered 11 years ago

To shorten a post on the homepage and have a “read more” link.

Please log in to Dashboards > Post > add new > import content.
Then, in the content frame , please choose a section of text you want, and click on “More” button. Please take a view below:

See the screenshot: http://imgur.com/itOmPGf

Regards,
Dominic

dustyhawk
replied 11 years ago

well that will work, but what i’m trying to do is to have part of paragraph 4 appear on the homepage but when a reader clicks on read more .. the starting will be from paragraph 1

Jackie Lord
answered 11 years ago

Please replace following code:

<span class="item-permalink">
<a title="<?php the_title(); ?>" href="<?php echo get_permalink(); ?>"><?php _e( 'Read more', 'wallpress' ); ?></a>
</span>

With the code:

<span class="item-permalink">
<a title="<?php the_title(); ?>" href="<?php echo get_permalink(); ?>#more-<?php echo get_the_ID(); ?>"><?php _e( 'Read more', 'wallpress' ); ?></a>
</span>

And the readers of your site will continue reading in break point.

Powered by DW Question & Answer Pro