Checkout: Theme Requirements

Any theme will accompany the WordPress Shopping Cart plugin and there aren’t any special requirements but ensure that your theme has wp_head and wp_footer hooks so that the CSS, Javascript and other elements of the Shopping Cart plugin can be loaded into your theme. This is actually standard for any WordPress theme.

First, the wp_head hook should go anywhere in between the HEAD tags of your WordPress theme. Put the following code between your HEAD tags which will most likely be in your theme’s header.php file. If it is already there, you don’t need to add it again.

Here is the code…

<?php wp_head(); ?>

In a similar fashion, add the following code below to your theme just before the ending BODY tag which will most likely be in your WordPress theme’s footer.php file. Again, if it is already there, you don’t need to add it again.

Here is the code…

<?php wp_footer(); ?>

Please have a look at the default WordPress theme as reference since these hooks are in there already as they should be. Open up its header.php file to see the wp_head hook and its footer.php file to see the wp_footer hook being inserted.

Earn Money by Referring People

Refer customers to us with your affiliate link and earn commission on sales from your link.

Get Started

Pin It on Pinterest