Getting Store Name
Since I had to pull the store name into the
wp-print template for the ability of having a clean printable page rather then have people upload images for printable coupons, this was one way I was able to get the store name displayed (not exactly how I would have it in my print-posts.php file but this is the line of code I came up with).
So question is, what's the simpler way? So I don't have to strip the HTML tags, because when I just echo get_the_term_list etc, it creates a link, which I of course don't need for the generated printable coupon. Thanks if anyone can answer, it isn't a tragedy on my end as it's working as I'd like it to now but it would be nice to know. - Stephen
<?php $merchanttitle = get_the_term_list($post->ID, APP_TAX_STORE, ' ', ', ', ''); echo strip_tags($merchanttitle); ?>