ForumJoin our community

Our support hours

Monday - Friday | 8:30AM - 6:00PM (GMT+7:00)

Our time: 8:14:41 AM - Your time: - Support is Offline
The order of the vehicles displayed when I first pull up the inventory page is the most recent posts of post_type equal to vehicle are displayed first. I would like to change the sort order of the listing to show older vehicles first.,

I suspect that this is done through a WP_Query object. The results are stored in $wp_query. I can not locate where the WP_Query search is conducted in the page archive-vehicle.php.. Can you provide some direction..

Thanks,
Phil
Comment
There are no comments made yet.
Accepted Answer
Giang Accepted Answer Pending Moderation
  1. Tuesday, 21 November 2017
  2. -
  3. # Permalink
0
Votes
Undo
Hello,

We have already solved this problem together via tickets.

Pls feel free to contact us again if you need any further assistance :D .

Best Regards,
Comment
There are no comments made yet.
Philippe Orion Accepted Answer Pending Moderation
  1. Tuesday, 14 November 2017
  2. -
  3. # 1
0
Votes
Undo
Further reseach shows that the call stack is as follows
1. do_action('init') - wp-includes/plugin.php:453
2. tz_autoshowroom_includevisual() - wp-content/plugins/tz-autoshowroom/admin/vc-extension/vc-init.php:33
3. autoshowroom_get_vehicle_data() - wp-content/plugins/tz-autoshowroom/admin/vc-extension/visual-composer/vc_theme/vehicle-feature/vc-theme-feature-vehicle.php:6
4. get_posts() - wp-includes/post.php:1689
5. WP_Query->query() - wp-includes/class-wp-query.php:3248
6. WP_Query->get_posts() - wp-includes/class-wp-query.php:2856

these were taken from the plugin named Query Monitor
Even with this information, I can not reverse the sort order of the vehicles displayed. Please Help..
Comment
There are no comments made yet.
Jeo John Accepted Answer Pending Moderation
  1. Wednesday, 17 January 2018
  2. -
  3. # 2
0
Votes
Undo
thank you for the replies that helped me very much.As I am working at HLPD oils manufacturing firm as layout and themes manager,This site is quiote interesting for me.
Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.