Post narration and adding it to the theme

Hi,

I am struggling to add the post narration module to my blog and need some guidance. HubSpot is telling me that I need to add this piece of code into my theme to get it to work.

{% module “blog_post_audio” path=“@hubspot/blog_audio”, overrideable=False %}

This is something that I have to do in the design manager. Since our theme is not ours i’ve had to create a child theme, place the code in there and then made that theme active.

I have done this. I have then added these theme to our blogs but still there is no change.

Can anyone help? Would hugely be appreciated.
Thanks

Hi @KOBrien2,

Please add this HubL Snippet to the blog-post.html file because the Post narration module is intended specifically for post pages.

Please let me know if that resolves your issue.

Thank you for your reply!

I’m afraid that the blog-post.html cannot be edited as its not part of the child theme.

These are the files in the child themes

Thanks

Hey @KOBrien2 you will need to clone the blog-post template to your child theme. Once you do that, you can edit the code within this. You’ll then need to select the child template as your blog template to use it!

Thank you for your reply!
I have now cloned the blog post template and have put the code in here. It has not worked. Am I putting the code in the correct place?

I would like the model to appear at the top of the blog

Hey @KOBrien2 looks like you added it in the middle of an if statement. I’d probably try adding it just after line 37