• Resolved pk-71

    (@pauljohnknight)


    Hi,

    I’m adding EDD to a simple custom theme i’ve made and it seems the shortcodes aren’t working – do I have to add an ‘add_theme_support()’ function like I do for woocommerce?

    An example of my problem is that the checkout page doesn’t show – it just says ‘Checkout’ and has my standard WP loop below this, and this info is being pulled from the page.php file (which i guess is to be expected). Also when I add a download in the backend the purchase button doesn’t show either.

    However, if I manually add the purchase link into a ‘single-download.php’ file of my theme with the following code, the purchase button does show:

    <?php echo edd_get_purchase_link( array(‘download_id’ => 32 ) );?>

    This makes me think I might need to add an add_theme_support() function, or a similar, general function in functions.php for all of the functionality to play ball so to speak?

    Any help would be so amazing.

    Paul

Viewing 1 replies (of 1 total)
  • Thread Starter pk-71

    (@pauljohnknight)

    Hi

    I found the solution to this – i was using ‘the_excerpt()’ in my page.php file instead of ‘the_content()’ All working now.

    Apologies.

Viewing 1 replies (of 1 total)
  • The topic ‘Shortcodes Don’t Seem to be Working with my Theme’ is closed to new replies.