Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.
Sedo

how can i reduce my post content on my homepage (wordpress)?

Status
Not open for further replies.

DN BROKER

Level 10
Legacy Exclusive Member
Joined
Oct 12, 2005
Messages
5,697
Reaction score
235
Do you by any chance know how I could reduce my post content on my homepage (wordpress)

visit Toronto Domainer - it shows the entire post, I want to reduce it so they click on the title and read more.

Would appreciate your support.
 
Last edited:
Dynadot - Expired Domain Auctions

w8amoment

Level 5
Legacy Platinum Member
Joined
May 4, 2006
Messages
432
Reaction score
2
In your wp post 'editors menubar' you should find a insert more tag.
 

draggar

þórr mjǫlnir
Legacy Exclusive Member
Joined
Dec 26, 2007
Messages
7,357
Reaction score
223
In your wp post 'editors menubar' you should find a insert more tag.

In the HTML editor click the "more" button.

In the visual (WYSIWYG) editor click the more button that is to the right of the "break link" button (and to the left of the spell checker button)

<!--more-->

Put it where you want the preview to end.

(Note: this is with the most recent version of WP, it may be in different places with older versions).
 

Tia Wood

Web Developer
Legacy Exclusive Member
Joined
Jan 11, 2006
Messages
3,372
Reaction score
349
You can also do something like:




<?php echo substr(get_the_content(),0,200) ."....<a href='".get_permalink()."'>Read More</a>"; ?>



Change the 200 to however many characters you want to show.
 
Status
Not open for further replies.

Who has viewed this thread (Total: 1) View details

Who has watched this thread (Total: 1) View details

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members Online

Sedo - it.com Premiums

IT.com

Premium Members

MariaBuy

Upcoming events

New Threads

Our Mods' Businesses

UrlPick.com

*the exceptional businesses of our esteemed moderators

Top Bottom