Buy Now for Stripe
PHP Echo Do_Shortcode doesnt work (5 posts)

  1. Seth Rubenstein
    Posted 3 years ago #

    SO I'm trying to embed this basically in a modal on my site. Doing

    <?php echo do_shortcode('superstripe shortcode here');?> and I get nothing.

    Any ideas? Is there a PHP function we can call instead?


  2. cartpauj
    Posted 3 years ago #

    There's no reason that shouldn't work. I would turn on debug mode in wp-config.php and see if any notices or warnings show up. You can also check your PHP error logs for some hints.

    Let me know if you turn anything up.

  3. cartpauj
    Posted 3 years ago #

    Actually, I talked with the developer today, and because of the way he does the shortcodes, this won't work.

  4. jaggreene
    Posted 3 years ago #

    Hi cartpauj,

    Without do_shortcode, how do we include a buy now button in a template?

  5. cartpauj
    Posted 3 years ago #

    Peeking at the code. It's not possible to call them manually yet. I'll do my best to petition Blair to make it possible to do so.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Buy Now for Stripe
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic