PHP – WordPress – List of Latest Posts

The given PHP example helps you display the list of latest news articles in WordPress. Code Example:

Read more »

PHP – Backup Your MySQL Database

The given PHP example helps you to take the database backup that you can call whenever you want or may call via CRONs. Code Example:

Read more »

PHP – How to Access a JSON in PHP

The given PHP example helps you to access the JSON in PHP (like a JSON recordset with multiple fields). Code Example:

Read more »

PHP – Clean String to Pure ASCII

The given PHP example helps you, If u want to clean a string to pure ascii use the following regulare expression. Code Example:

Read more »

PHP – Mobile Detector

The given PHP example helps you to detect the mobile devices, OSs & browsers. Code Example:

Read more »

PHP – WordPress – Add Thumbnails to RSS Feeds

The given PHP example helps you to add the thumbnails to RSS feed into WordPress. Code Example:

Read more »

PHP – WordPress – Function to Change the Default Length of Excerpts

The given PHP example helps you to change the default length of excerpts into WordPress. Code Example:

Read more »

PHP – WordPress – Load jQuery

The given PHP example helps you to load the jQuery from your WordPress. Code Example:

Read more »

PHP – Pass an array parameter to Javascript Function

Writing an PHP array in a javascript file with json_encode. Code Example:

Read more »

PHP – Google Currency Converter

The given PHP example is a currency converter, and can convert one currency amount into other currency amount. Code Example:

Read more »

PHP – WordPress – Filter Category

The given PHP example filter out a category from your WordPress. Add this code to your functions.php file. Code Example:

Read more »

PHP – Multidimensional Array Sort

The given PHP example order any multidimensional array based on a specific field. Code Example:

Read more »

PHP – WordPress – Display Post Views Within Admin Post Columns

The given PHP example will display the post views within admin post columns into WordPress. Code Example:

Read more »

PHP – WordPress – Get the First Image from the Post and Display it.

The given PHP example allows you to automatically get the first image from the current post, and display it into WordPress. Code Example:

Read more »

PHP – Parse YouTube URLS

The given PHP example parses the various types of YouTube URLs and returning the embed iframe with optional width and height. Code Example:

Read more »