Hi @craigc11,
Thank you for reaching out to the Community!
I’d like to invite a couple of subject matter experts to this conversation @Indra, @Anton and @Jnix284 do you have tips and best practices to share with @craigc11, please? Also, if anybody else has anything to add and/or share, please feel free to join in the conversation
Thanks and have a great day!
Best,
Bérangère
@craigc11 it depends on how your previous and new blog template is setup.
In most cases the blog is using the default blog fields.
Make sure the new blog theme/template uses the same fields. If all uses the same fields you can easily change your blog listing and blog post template according the the HubSpot knowledge base.
Before changing the template, it’s possible to check the new templates. Just go to the design manager and preview the listing and post template. There you can select your current blog to preview it in the new layout.
@craigc11 the way blog listing and blog post templates are coded, they all should have the same components (like blog post content) but if your old blogs have custom modules that were added (like a calculator, or a special CTA, etc.) that are outside of the blog post content, those modules would disappear if you swap the templates over to your new theme.
The best way to check this is from the blog post editor, open the Contents in the sidebar on the left and you’ll see the modules used.
The content from your blogs will still exist - so if you were to change the templates and modules are lost, you could change them back and they would be restored.
Any of these modules from the template can now be rebuilt in your new theme/template via the drag-and-drop areas available for the blog listing and blog post templates.
Can you share a screenshot of the contents tab? I’m happy to help confirm if there are any custom modules.
So we have a blog which is using our old theme and a blog-post.html template.
I need to update this blog’s posts to use the new theme header and footer, and update the styling of the current modules on this blog.
So as of now, the best way I can think to do this is is edit the modules styling and do it all live, which isnt ideal but it seems like this is only real way to do this.
If we updated the theme a blog uses, and copied the modules the blog uses across to a new theme, would it bring the content over?
Also, we are using the new theme templates which dont use drag and drop.
It’s a lot easier to swap the templates than to try to swap the header/footer from the new theme into the old one.
As I mentioned, unless it’s a highly custom blog template, it likely uses the same base modules as every other theme - this is what makes them compatible and easy to change themes from one to another.
If you change the blog listing template and blog post template, all of the content is brought across automatically - the only exception would be what I mentioned previously about custom modules outside of the typical blog components.
You mentioned your theme doesn’t use drag and drop - is it a custom developed theme or one from the marketplace?
All themes allow drag and drop for blog posts and blog listings, this is a fairly recent change and it happened automatically when HubSpot rolled out the capability - developers didn’t have to make changes to the templates for it to work.
I’m happy to dig into this further if you want to jump on a call and walk through your setup and questions together - let me know and I can send over a meeting link, otherwise we can continue working through here.
Hi @craigc11 sorry about that, I’ve been on calls most of the morning. Here’s a meeting link so we can get something scheduled that will work for you. If you can’t find a time that works, you can also email me at jen@worqflow.co and we’ll coordinate from there.
the blog post templates had custom modules, so the content has to be transfered manually, the templates can’t be swapped using the settings without losing the content.
Exporting the current blog posts to CSV and updating the blog post content, then re-importing to the new blog with the new template was the best solution we could find.