We're sorry AsposeCloud doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.cloud

Export Wordpress post including text styling with Aspose.Words WordPress Plugin

Hi,

I wanted to export wordpress post into word document using a template, where in the style are preformatted. Is that possible? Can you please send us some guide on how we can do it.

Thanks

1 Like

@macneilco Could you please let us know what Aspose.Words product do you use? Do you use Aspose.Words on-premise API or Aspose.Words WordPress plugin?

Hi,

Im using Aspose.Words WordPress plugin

@macneilco

We are using an HTML file as a template while exporting the post file. The HTML file is generated by twig templates located in the plugin directory inside templates directory, wp-content/plugins/aspose-doc-exporter/templates/. There are two templates; post.twig is used for single post and posts.twig for multiple posts. You can amend/update the twig files(post.twig/posts.twig) as per your requirements.