• Resolved behroozwp

    (@behroozwp)


    what should I write instead of
    cat=21
    below to get a related category number ( not a fixed one )

    $my_query = new WP_Query(‘showposts=20&cat=21’);

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘find dynamic category number’ is closed to new replies.