Problems with Facebook posts


#1

Hi all, I’m new to ghost however when add a facebook post to a story, it renders correctly on the individual post (1) however on the main page (2) the post doesn’t render. I’m using the standard template shipped with ghost v 2.13.1.

(1) https://www.brisbanefreedivers.club/afa-pool-nationals-2019-is-now-open/
(2) https://www.brisbanefreedivers.club/

Any ideas?

Thanks
Leigh


#2

@lewo your site is private so it’s not possible to see what the problem is. Maybe starting with some screenshots would be useful if you’re unable to make your site public?


#3

sorry forgot to save after removing the privacy option.


#4

@lewo your homepage is using the {{excerpt}} helper, excerpts don’t allow HTML because it could lead to all sorts of problems due to HTML/styles interfering with layouts or from the HTML content being cut-off due to the restriction of content length.

If you add a custom excerpt to the post then that will override the visible script output.


#5

Thanks @Kevin, much appreciated. If I add test and images before the facebook post he script code is removed as well. I’ll google the custom {{excerpt}} helpers thanks.


#6

By “custom excerpt” I meant the field in the post settings menu, there’s nothing you need to change with regards to helpers or templates.


closed #7

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.