Hi,
i am currently using a wordpress theme that incorporates widgets, all works very beautifully. I am currently trying to adjust a widget via the php file.
Basically the '‘advanced search function’, shows a pickup and destination list with times, date, number of people etc, The current pickup and destinations list are currently listed in both. I have searched for a few hours in the lines suggested by the author but cannot find or see what to make the adjustments.
Someone please help me!
this is the code that is recommended to be looked at.
Many thanks in advance.
$select_destination_options = '<option value="">' . esc_html__('Select pickup location', 'transfers') . '</option>';
$select_destination_options .= Transfers_Plugin_Utils::build_destination_select_recursively(null, $destination1_from_id);
$select_pickup_location1 = '<select id="pickup1" name="p1">' . $select_destination_options . '</select>';
$select_destination_options = '<option value="">' . esc_html__('Select drop-off location', 'transfers') . '</option>';
$select_destination_options .= Transfers_Plugin_Utils::build_destination_select_recursively(null, $destination1_to_id, 0, false);
$select_drop_off_location1 = '<select id="dropoff1" name="d1">' . $select_destination_options . '</select>';
$select_destination_options = '<option value="">' . esc_html__('Select pickup location', 'transfers') . '</option>';
$select_destination_options .= Transfers_Plugin_Utils::build_destination_select_recursively(null, $destination2_from_id);
$select_pickup_location2 = '<select' . ($trip != 2 ? " disabled" : "") . ' id="pickup2" name="p2">' . $select_destination_options . '</select>';
$select_destination_options = '<option value="">' . esc_html__('Select drop-off location', 'transfers') . '</option>';
$select_destination_options .= Transfers_Plugin_Utils::build_destination_select_recursively(null, $destination2_to_id, 0, false);
$select_drop_off_location2 = '<select' . ($trip != 2 ? " disabled" : "") . ' id="dropoff2" name="d2">' . $select_destination_options . '</select>';
Adrian