The airport is located 27 km from the city. You can order a transfer (budget option for 4 passengers - from 35 EUR), take a cab, rent a car at the airport or take a bus to Ljubljana railway station.
A cab ride will cost from 20 EUR (the trip will take about half an hour). A bus ticket costs about 4 EUR (travel time - 45 minutes). You can pay for the fare at the ticket office or from the driver.