Export settings for wordpress themes

Every theme export I do is invalid when I load it in to Wordpress

Is there any tutorials on exporting themes for wordpress?.. I have watched a ton of vids and none of them cover the actual exporting of wordpress themes. And nothing covering the export settings:
Screenshot 2025-01-08 at 4.14.39 pm

If anyone could point me in the correct direction I would me most grateful.

A few quick things to check.

• Have you set the CMS to Wordpress in Project Settings?

• Have you structured your site correctly for a Wordpress theme? Our Blocs Academy video course explains how to create a Wordpress theme with Blocs.

Yes to both of your questions.
None of the videos mention anything about the Export Settings. So I’ve just been leaving them at the default values. But it would be good to understand what they do.

I’m going to start from scratch on another theme, running through the videos agin today.

Blocs is very comprehensive… with a lot of functionality [most of which I will likely never use]. A lot of it is not explained anywhere.

I’m used to using wordpress theme builders that simply build the theme and css… with all of the page building, content entry done directly in wordpress.

It’s a paradigm shift for me and I need to be patient and get my head around it.

I’m glad there is a community here to get help from.

1 Like

Hello @misubisu,

  • are you working with a local Wordpress installation?
  • if not, are you zipping the exported theme and then uploading it to a Wordpress installation on a non-local server?
  • how are you zipping (compressing) your exported theme? Are you using the native MacOS compression? If so, that is possibly the issue. The zip files created with the native compression tool add a hidden folder to the zip package (__MACOS if I recall correctly) which Wordpress v6 and later flag as an invalid file.

Cheers,

Ricardo

2 Likes

You can find out more about the export settings and what they do here.

Generally the default export settings are fine for Wordpress themes.

Actually, Blocs Master just released a video course on building/converting a Blocs site to a Wordpress theme, this may also be worth checking out.

3 Likes

Thanks for taking the time to reply Ricardo,

I have the ‘invalid’ situation curtailed. It was something to do with the way I had the page names set up. Not exactly sure what the problem was… but it’s all good now.

I am using the native compression in MAC OS… but, as I said, I have not had any problems with invalid themes for the last 10 themes that I have uploaded to wordpress.

What I am having an issue with currently, is getting the re-capture to work…
recapture

I have entered a valid site key and secret key into the Project Settings, but cannot get the re-capture to load correctly… is there any other information I need to add?