Detailed information on how to develop themes for ClassicPress?

I’m looking for Information on how to develop a website with classicpress.

I read in the developer section of the documentation “The developer guides provide detailed information on how to develop themes and plugins for ClassicPress.”
But I can’t find only these bullet points with links:
Installing with Composer
Security Page
Best practice to detect a ClassicPress Install
Providing Shims for functions introduced in or after WordPress 5.0
ClassicPress Directory API

Is there any more information that I missed, that could help me getting started with developing a theme?

Can I use the theme handbook of wordpress.org, or is not relevant anymore for classicpress?

@someonespc,

I believe “most” of the WP model applies for CP theme development.

@Simone, @timkaye or @MattyRob perhaps you can offer some clarification on this :slight_smile:

1 Like

You can refer to the handbook published by WP (CP themes are WP themes before Gutenberg in reality and you can make any WP theme work with CP by taking out block functions and modifying it where it needs).

As per the handbook, they are slowly adapting it to block themes, the Classic Themes section is shrinking as time goes by. However if it resides in GitHub you can find previous versions of it and go from there.

4 Likes

ClassicPress v2.0 is a rework of WordPress 6.2.x. With that we dropped the Security page as it never really gained developer traction.

If your theme is going to support WordPress and ClassicPress then the Bast Practice section is pretty important if you are going to use functions that are not available in ClassicPress. (You can open an Issue requesting a back port is done too). The Providing Shims section might be helpful to develop cross platform support too.

Beyond that, develop your theme locally with WP_DEBUG set to true in your wp-config.php file so that you can easily see and fix warnings and error as you develop.

4 Likes

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