They had digital subscriptions. In fact, I'd guess that WSJ.com was the first successful paid-online-subscription newspaper that still endures as paid subscription. (The San Jose Mercury was earlier, but they went free later for a number of years.)
Back in the 90s, WSJ Op-Ed content was free, but the rest was paywalled.