Give each text link element an attribute of data-clean="remove-http" and then use the Jquery below to remove any http:// or https:// text at the beginning of the link’s text. This is helpful if you want to render the text of a link URL to a page from the CMS, but want it to appear a bit cleaner without the https at the beginning.
Have feedback or a question related to this item? Drop us some feedback!
Subscribe for updates
Get updates on the latest curated resources and be the first to hear of new features.Subscribe
Creative portfolios, auth tools, and a URL code trick.
We hope you are having a stellar week! Here are this weeks featured inspiration, code and resources.