≡ Menu

PHP Tutorials & HowTos

PHP is an open-source server-side scripting language and one of the most popular in web development. This section includes PHP programming related syntax, questions and answers ( rss feed ).

WordPress Add Shortcodes To Excerpts

I added the Shortcode API as described here, but it is only displayed in post content. How do I use shortcode in wordpress excerpt?
[click to continue…]

WordPress Add A Shortcode Example

How do I create shortcodes that support attributes under wordpress CMS? How do I add shortcodes to my theme?
[click to continue…]

PHP Find / Extract Substrings

Q. How do I find out if a string stored in a variable contains a particular substring using PHP? How do I find out (extract) first 5 character of a particular string using Apache and PHP?
[click to continue…]

PHP Print array

Q. How do I print array with PHP?
[click to continue…]