Couponpress home page

WordPress Business Themes Forums Version 7 Themes CouponPress Couponpress home page

Couponpress home page

July 14, 2013
riswan riswan
  • riswan
    riswan
    Newbie 25 points

    i’m sorry i’m not a programer ,, i don’t know how to change query string “feature” to show category post ..

    July 14, 2013 at 7:38 am
  • riswan
    riswan
    Newbie 25 points

    meta_key=featured&meta_value=yes&posts_per_page=25 is replaced with what ..?

    July 14, 2013 at 7:40 am
  • Richard Bonk
    Richard Bonk
    Super Guru 2,739 points

    meta_key=featured&meta_value=yes&posts_per_page=25

    Add ‘&cat=nameofyourcategory’ so if your category name was ‘cars’ the query would look like this:

    meta_key=featured&meta_value=yes&posts_per_page=25&cat=cars

    Kind regards,

    Richard
    _____________________________________________________________________
    Wide range of PremiumPress and WordPress Plugins and add-ons
    PremiumPress customisation services and Website Design
    Selection of PremiumPress Child Themes

    July 14, 2013 at 9:10 am
  • riswan
    riswan
    Newbie 25 points

    hai ricahrd…. that not working… can i show without “featured” just category..?

    July 14, 2013 at 9:51 am
  • Richard Bonk
    Richard Bonk
    Super Guru 2,739 points

    OK, try this one:

    category_name=yourcategoryslug&posts_per_page=25&orderby=rand

    For more different parameters and their use look here:
    http://codex.wordpress.org/Class_Reference/WP_Query

    Kind regards,

    Richard

    July 14, 2013 at 10:07 am
  • riswan
    riswan
    Newbie 25 points

    done,,, just use this “cat=id” :) thanks

    July 14, 2013 at 10:47 am
  • Mark Fail
    Mark Fail
    Super Guru 12,812 points

    :)

    July 14, 2013 at 1:00 pm
  • riswan
    riswan
    Newbie 25 points

    hai mark… and what the code for show “Popular coupon ” only..?

    July 16, 2013 at 2:28 pm
  • Mark Fail
    Mark Fail
    Super Guru 12,812 points

    popular would be determins by the amount of hits

    so its;

    meta_key=hits&order=desc

    July 16, 2013 at 2:43 pm
  • riswan
    riswan
    Newbie 25 points

    at “Basic Corousel” that not working..? that code show latest coupon, not showing popular…

    July 16, 2013 at 3:29 pm
  • Richard Bonk
    Richard Bonk
    Super Guru 2,739 points

    The query string Mark provided is not complete. The string should look like this:

    meta_key=hits&orderby=meta_value_num&order=desc

    Kind regards,

    Richard

    July 16, 2013 at 8:44 pm
  • riswan
    riswan
    Newbie 25 points

    thanks Richard, that workig :)

    July 17, 2013 at 2:58 am
  • riswan
    riswan
    Newbie 25 points

    my store list not yet indexed by google, but my categories is done .. what is in the index so long or maybe there is something wrong ..?

    July 17, 2013 at 4:45 am
  • Mark Fail
    Mark Fail
    Super Guru 12,812 points

    Google indexing can take upto 3 months.

    July 17, 2013 at 5:39 am
  • riswan
    riswan
    Newbie 25 points

    and what the code for show “Popular coupon in special category” ..? :) sorry i’m not a programer… :)

    July 18, 2013 at 1:10 pm
Viewing 15 posts - 1 through 15 (of 18 total)

Didn't find what you were after?

Chat with us now

or contact our support team