Results 1 to 1 of 1

Thread: Getting Store Name

  1. #1
    Thread Starter
    Expired Customer wckvcoupons's Avatar
    Join Date
    Aug 2012
    Location
    United States
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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); ?>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Store logos in stead of store screenshot.
    By savebox in forum Report Clipper Bugs
    Replies: 1
    Last Post: July 3rd, 2012, 07:54 AM
  2. how to redirect the old store slug to new store slug?
    By couponspicy in forum Report Clipper Bugs
    Replies: 2
    Last Post: May 5th, 2012, 05:55 AM
  3. Replies: 1
    Last Post: December 7th, 2011, 08:51 AM