Results 1 to 1 of 1

Thread: How to remove "unreliable coupons" from clipper stores page?

  1. #1
    Thread Starter
    Expired Customer merliniano's Avatar
    Join Date
    Apr 2017
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to remove "unreliable coupons" from clipper stores page?

    Hi! I'm using appthemes clipper latest version and I couldn't find the archive suggested in the thread "How to remove "unreliable coupons" from clipper popular coupons widget?", which I copy below.

    ... look for the set of codes below through clipper\includes\theme-widgets.php specifically on line 27;

    Code:
    $popular_posts = new WP_Query( array( 'post_type' => APP_POST_TYPE, 'posts_per_page' => $number, 'orderby' => 'comment_count', 'order' => 'DESC' ) );

    Replace it with this;

    Code:
    $popular_posts = new WP_Query( array( 'post_type' => APP_POST_TYPE, 'posts_per_page' => $number, 'orderby' => 'comment_count', 'order' => 'DESC', 'post_status' => 'publish' ) );
    As you can see, we have only added the 'post_status' => 'publish' parameter.


    I appreciate any sugestions to get rid of the unreliable cupons comments if there is no unreliable coupons at all.

    Thanks!!!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: April 6th, 2017, 12:06 PM
  2. Replies: 2
    Last Post: October 24th, 2015, 01:00 AM
  3. Turn off coupon ""unreliable" coupons
    By netsetmedia in forum Help Using Clipper
    Replies: 3
    Last Post: July 13th, 2015, 10:59 AM
  4. Replies: 2
    Last Post: March 26th, 2014, 09:58 PM
  5. [SOLVED] How to remove "unreliable coupons" from clipper popular coupons widget?
    By spiderz in forum Clipper General Discussion
    Replies: 4
    Last Post: September 5th, 2013, 10:07 AM