• Resolved minimedj

    (@minimedj)


    Hi guys,
    Sorry for such a silly question. I am very new to PHP and cannot figure out how to properly use power of the plugin with get_posts code call.

    My situation is the following:
    In my WP I’ve created Custom Post Type called car and Custom Taxonomy called car_user_rating with CPT UI plugin. For car_rating I created values like: best_speed, best_color, best_stearing, best_breakes. I want to manually reorder card withing car_user_rating.
    I set up ReOrder Post settings as I wanted. Everything is fine here in Admin.

    Now I want to create a shortcode function to insert sorted lists of cars into my WP posts and pages. I want to insert lists according to the car_user_rating.

    I cannot figure out how I would call my lists to display?

    Please help!

    p.s. I have checked the code of the plugin, docs, github – didn’t find anything about it. I am absolute newbie in PHP. Sorry for such silly question.

    • This topic was modified 3 years, 5 months ago by minimedj.
    • This topic was modified 3 years, 5 months ago by minimedj.
    • This topic was modified 3 years, 5 months ago by minimedj.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Good code example for get_posts call needed! ??’ is closed to new replies.