When any law, or order or decree of court, directs advertisements to be made in a county and there is no newspaper published in the county, the advertisement may be published on a publicly accessible website as provided in s. 50.0311 or made by posting three copies thereof in three different places in the county, one of which shall be at the front door of the courthouse, and by publication in the nearest county in which a newspaper qualified under this chapter is published.