May 4, 2011

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

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





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

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
Admin
Forum Posts: 3102
Member Since:
July 2, 2009
sp_userofflinesmall Offline

This code will do the trick:

Login to see the code.

Forum Timezone: Europe/Moscow

Most Users Ever Online: 105

Currently Online:
9 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 81

Freedom: 61

B8europe: 54

saviulisse67: 45

adultdenim: 44

allgoodies: 38

Member Stats:

Guest Posters: 350

Members: 1928

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 2

Topics: 1331

Posts: 6637

Administrators: CyberSEO: 3102