May 4, 2011

Automatically add "more" after image | CyberSEO Pro | Support Forum

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Related Related Topics sp_TopicIcon
Automatically add "more" after image
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
January 9, 2012
4:40 am
Avatar
ianbong
Guest
Guests

My blog is configured to pull posts, all of which has an image and the content after the image. 

I don't know a thing about coding, so I need some help. How do I add some php code that automatically add a <!–more–> tag after the image, so the content is hidden and only the images are displayed on the blog homepage so users have to click through to access the posts?

Thanks in advance.

January 11, 2012
1:46 pm
Avatar
CyberSEO
Admin
Forum Posts: 3950
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

This code will do the trick:

Login to see the code

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
11 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 68

Freedom: 61

Pandermos: 54

MediFormatica: 49

B8europe: 48

Member Stats:

Guest Posters: 337

Members: 2855

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1642

Posts: 8357

Newest Members:

samuel2288, comercios.cercademi, wanmarkets, torontomark48, info.ckmedianetwork, contact.mybeautystar

Administrators: CyberSEO: 3949