Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Shortcode not wokring

$
0
0

Replies: 0

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


Viewing all articles
Browse latest Browse all 59525

Trending Articles