Problem with trip search | WordPress.org

[ad_1]

Just to clarify. I got issues with both the search form on the start page and the trip listing.

After a nights sleep I had new energy and problem solving skills and found a pattern in the database. Only the trips that have the postmeta key ‘_s_duration’ set will show in the 2 above functions. That means that the search engine for trip is based on this value. Why many of my trips don’t have it, I don’t know.

Mind shred some light on how this postmeta key is being set and why the engine done use ‘wp_travel_engine_setting_trip_duration’? This value is set on all my trips.

Ping @wptravelenginesupport

I found the issue. If you don’t hit save on the trip when edit and just hit update the _s_duration won’t be set.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer