Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter varundev24

    (@varundev24)

    ok, i go it
    <?php
    $querycoupon = new WP_Query ( ‘post_status=publish&post_type=cctor_coupon’ );
    if ($querycoupon->have_posts ()) {
    ?>
    <?php

    $values = array (
    ‘orderby’ => ‘name’,
    ‘order’ => ‘ASC’,
    ‘echo’ => 1,
    ‘selected’ => $kat = get_query_var ( ‘cat’ ),
    ‘name’ => ‘cat’,
    ‘id’ => ”,
    ‘taxonomy’ => ‘cctor_coupon_category’,
    ‘title_li’ => $title,
    ‘depth’ => 1
    );
    }
    ?>
    <?php wp_list_categories($values); ?>

    Thank you

Viewing 1 replies (of 1 total)