Support Forum

Add Read More Button – Auto Blog Linking

JO John
John
Member

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

6 Answers

New Answer

MP Mr Papa
Mr Papa
Member

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…

JO John
John
Member

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. 

MP Mr Papa
Mr Papa
Member

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…

JO John
John
Member

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.

MP Mr Papa
Mr Papa
Member

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…