Polymorphism – the concept Polymorphism is a Greek word that means “many forms”. In object-oriented programming, polymorphism is a mechanism by which objects of different types can process data through a single interface. Using a typical illustrative example, a program might define a type of object called Animal, containing a function called talk() and,…
Share your WordPress post on facebook & other social networking website. If you want to share your WordPress page URL on social networking website, it’s very simple to do. Just place this function in your functions.php file, and call the function where do you want it to show. You can also use this function in…
Generally web master uses the WordPress for applying blog on their website. Below is the code for the getting recent/latest post or list, can be applied to display recent posts outside anywhere in your WordPress website. The key to use WordPress outside is include the wp-load.php file Once the wp-load.php file is included, the entire wealth of WordPress functions…
rss feed for custom post type Everyone is utilizing custom post types in their new WordPress sites as it is a very powerful and popular feature now days, now the next one is make a separate RSS feed for custom post type? How can a user create a separate RSS feed for a specific…
Most useful 5 htaccess tricks every webmaster should know 1) Redirect your website visitors while you update or test your website order deny,allow deny from all allow from 117.117.117.117 ErrorDocument 403 /showpage.html <Files showpage.html> allow from all </Files> Replace 117.117.117.117 with your IP address. Also replace showpage.html with the name of the page you want…
There are so many different ways to get tweets to display on your blog or web page, unfortunately most of these use JavaScript which means that the tweets displayed are not made available to search engines 🙁 Don’t worry; you can also display your latest Twitter tweets using PHP. You can achieve by following very simple functions. …