Thread:Project:Support desk/Wordpress queries and wikipedia/reply (10)

I'm not going to write it for you. In the previous comments I explained how $intro would be defined (obviously it's not defined right now, that's up to you) where it reads " ".

"Then in PHP (getWikiIntroParagraph) extract the first one (or two) -tags. And with what you have left, use strip_tags to get rid of other unwanted html code, and then you have an clear-text excerpt."