/ Published in: PHP

"Recently I was playing around with WordPress’ wp_posts table. I wanted to grab the basic information about my posts (ID, title, content, slug) and build a quick summary list of them. One problem I ran into was creating a content “intro.†Luckily a quick regular expression allowed me to create the intro."
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
URL: http://davidwalsh.name/php-paragraph-regular-expression
Comments
