WordPress have function wp_insert_post() which can be used to create posts programmatically. this function returns a ID by using which we can add custom fields to that post. Source Wp Insert Post programmatically creating posts in wordpress
Following function is used to detect user’s browser and can be used to apply specific style or scripts for different browsers.
If you want to exclude wordpress pages from the search then you have to add following code in your themes function.php file.
Code added to this post will calculate date difference in days, months, years format. So using this code you can calculate age by sending birth date as parameter. Or you can calculate difference between today’s date and any date in past.
If you are creating a responsive website then you must have to use media queries to target different screen sizes like from large desktop screens to small mobile devices. In this article I will show you standard css media queries for mobile devices.
This post will be focus on creating a Feedback form powered by jquery and PHP. You can add this feedback form to your website to receive feedback’s from your website readers.