How Do I Add Digital Downloads to WordPress?

Adding digital downloads to WordPress is easy. Just add the following code to your theme’s functions.php file:

add_theme_support( ‘digital-downloads’ );

Then add the following code to your theme’s header.php file:

Finally, add the following code to your theme’s footer.php file:

That’s all there is to it! Now, whenever someone downloads your theme, they will also be able to download the accompanying files.