Results 1 to 2 of 2

Thread: customization of total number of coupons line at index page.

  1. #1
    Thread Starter
    Senior Member couponspicy's Avatar
    Join Date
    Nov 2011
    Location
    India
    Posts
    223
    Thanks
    34
    Thanked 18 Times in 15 Posts

    customization of total number of coupons line at index page.

    there is a code at main page

    PHP Code:
    <div class="counter"><?php printf(_n('There are currently %s active coupon''There are currently %s active coupons'appthemes_count_posts(APP_POST_TYPE'publish'),  'appthemes'), '<span>'appthemes_count_posts(APP_POST_TYPE'publish') . '</span>'); ?></div>
    but we want to display the total number of coupons, not just active ones.

    so please get me the solution, how to change that to TOTAL NUMBER OF COUPONS available in the system.

    thanks in advance

  2. #2
    Thread Starter
    Senior Member couponspicy's Avatar
    Join Date
    Nov 2011
    Location
    India
    Posts
    223
    Thanks
    34
    Thanked 18 Times in 15 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: December 16th, 2011, 03:14 PM
  2. how to display the total number of stores in the system...
    By couponspicy in forum Clipper General Discussion
    Replies: 1
    Last Post: December 10th, 2011, 10:51 AM
  3. Page number and total page -need help
    By Orzdy in forum WordPress General Discussion
    Replies: 1
    Last Post: October 19th, 2011, 05:17 AM
  4. Showing the total number of posts
    By jshgroup in forum ClassiPress General Discussion
    Replies: 3
    Last Post: January 27th, 2011, 03:33 AM