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: 3676
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:
18 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 64

Freedom: 61

MediFormatica: 49

B8europe: 47

saviulisse67: 45

Member Stats:

Guest Posters: 338

Members: 2635

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1535

Posts: 7754

Newest Members:

kevin.cooper.boonenewsmedia, florian.stickel, t.schleiser, worldnetsites, janodamek, socialbiz4themasses

Administrators: CyberSEO: 3676