Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Add Read More Button - Auto Blog Linking
Avatar
John
Member
Free Members
sp_UserOfflineSmall Offline
Nov 1, 2014 - 1:49 pm

We're trying to add a read more more in the forum topic when a Auto Blog Linking post is made when using "Excerpt from post content".

We would like to move it from the Topic Header to inside the actual forum topic.

Any directions? We looked at the Template-Tags section of the Codex, but we're a little loss. 

Thanks

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 1, 2014 - 3:26 pm

sorry, there is no 'read more' function in forum posts...

you might be able to use a spoiler shortcode... but not sure what that would look like in the wp post...

Avatar
John
Member
Free Members
sp_UserOfflineSmall Offline
Nov 1, 2014 - 3:56 pm

Okay, that's a bummer. I guess I could edit each forum post and add the blog link manually, just an extra step but might just have to do it that way. 

Avatar
John
Member
Free Members
sp_UserOfflineSmall Offline
Nov 1, 2014 - 4:20 pm

Doh! That's not going to work either. 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 1, 2014 - 6:41 pm

on the forum side, you could just put the content you want hidden inside a spoiler short code (use the spoiler button on the wysiwyg editor) and it will be hidden until the spoiler button is clicked...

Avatar
John
Member
Free Members
sp_UserOfflineSmall Offline
Nov 1, 2014 - 7:37 pm

Thanks! 

What I was trying to accomplish was to use the forum topic as a news section to push visitors to our front page (blog). 

We still have some ideas.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 1, 2014 - 8:08 pm

another option would be to just hook in a filter on our post content and trim the post content to X number characters or words...

hook into this filter:  sph_save_post_content_filter

trim and add your link back to blog...  could probably run it through our excerpt filter sp_filter_content_excerpt() and then add the link...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625