How to use “show more” on a page or post to show and hide content
Any post containing a “read more” tag, had a <p>-tag with inside a span with an ID called more-#, where the # could be any number. It looks like this: <p> <span id=”more-1″></span> </p> I had to select that specific span, and stored it within a variable: var $showMore = $(‘span[id*=”more-“]’); To add some kind … Read more