View/hit counter on coupon

WordPress Business Themes Forums Version 7 Themes CouponPress View/hit counter on coupon

View/hit counter on coupon

July 26, 2013
Mark Mark
  • Mark
    Mark
    Newbie 12 points

    Since the upgrade there is no view/hit counter on the coupons.
    Support said this was not a support issue and to look in single.php, which it is not, I copied the entire old 7.0 single.php file over and still no hit counter.

    Any clues folks would be gratefully received.

    July 26, 2013 at 8:53 am
  • Mark Fail
    Mark Fail
    Super Guru 12,812 points

    the display options changed in v7, the hits are still recorded but alot of people didnt want them to be seen so they were removed from the core display. You can edit the _item.php file and add them back with the code;

    [code title=””]echo get_post_meta($post->ID,’hits’,true); [/code]

    July 26, 2013 at 9:42 am
  • Declan
    Declan
    Newbie 41 points

    is this going to be the same edit that needs to be done with coupon theme?

    July 26, 2013 at 10:50 am
  • Declan
    Declan
    Newbie 41 points

    is there an edit of class_coupons_defaults.php lines 20-25 and css.core_styles.css to show hits on front end to customers?

    July 26, 2013 at 11:46 am
  • Mark
    Mark
    Newbie 12 points

    Hi Chaps,

    Thanks for the hint.

    Mark I tried that and pasted it in all over the page and nothing shows on the coupon.

    could you please paste the surrounding code in here so I know where it should go exactly.

    Many thanks.

    BTW:

    Why remove it, it was configurable was it not, minimum should have just been a comment on the code to stop it displaying.

    July 26, 2013 at 12:19 pm
  • Mark
    Mark
    Newbie 12 points

    Can’t be having this ..

    I’ve downgraded and got the old coupon format back, it’s much better looking and more configurable.

    If there are any files that need upgrading for security reasons that do not change the look and functions of my 7.0.9.6 site please let me know.

    July 26, 2013 at 7:29 pm
Viewing 6 posts - 1 through 6 (of 6 total)

Didn't find what you were after?

Chat with us now

or contact our support team