• Resolved stujessicaaa

    (@stujessicaaa)


    Hello,

    I’m having an issue with shortcodes in a page template. I am working on a private site right now, so I can’t provide the URL, I’m sorry, but there’s really nothing to the page at all.

    THIS WORKS AND OUTPUTS THE BUY BUTTON PERFECTLY:
    <?php print do_shortcode(‘[music_store]’); ?>

    THIS DOES NOT WORK AT ALL, IT OUTPUTS PLAIN TEXT:
    <?php print do_shortcode(‘[music_store_product id=”3″]’); ?>

    I tried both print and echo for this “do_shortcode” and they both don’t work and simply output [music_store_product id=”3″] as plain text.

    Why does the music_store shortcode work but the music_store_product doesn’t??

    Thank you!

    Jess

    • This topic was modified 5 years, 10 months ago by stujessicaaa.
    • This topic was modified 5 years, 10 months ago by stujessicaaa.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Shortcode not working’ is closed to new replies.