WordPress add contents to the page or post using hooks

How to add contents to the wordpress page or post using hooks.You can add before content or after content of the posts.Wordpress hooks are easy to handle and add contents without worrying.Mostly wordpress hooks are using to WordPress plugin developers.

Two types of hooks named “Actions and Filters”. Continue reading WordPress add contents to the page or post using hooks

WordPress get specific page or post ID

How can I get specific page or post ID to any page/plugin/widget in the WordPress.You don’t have a write sql codes.Simply call to WordPress core functions only.If you want to get page or post ID to any page like plugin page, template page, inside functions, outside functions no matter you can use this.
My another post is described how to get specific page or post content.

Continue reading WordPress get specific page or post ID

WordPress Woothemes and Yoast SEO plugin getting double Titles

Woothemes also comes with some basic SEO settings with in.Yoast makes a great plugin called WordPress SEO. Unfortunately they don’t always play nice even if you don’t use the Woothemes SEO functionality.

Woothemes and Yoast SEO displying double title separators.I’ve been having a problem with my titles showing double title separators.
You can understand this by following image.

Woothemes and Yoast SEO plugin getting double Titles
Continue reading WordPress Woothemes and Yoast SEO plugin getting double Titles

PHP check duplicate values in an array and return it

How to check duplicate values in an array and return it using PHP?Also telling php check wild card value in an array and return those values.For a example you want to check number of times that values exist and return that all values in an array.Check this example, you can understand this better.
Continue reading PHP check duplicate values in an array and return it

PHP IP address based redirect example

This is a IP address redirect example.Check visitor IP address is exist in the IP address list/black list and if exist then visitor redirect to the another location using php.You can put your IP addresses list as line by line with single IP address or CIDR notation.Then check visitor IP address with list and redirect them.

Continue reading PHP IP address based redirect example

increase execution time file size memory limit in php.ini

How to increase max execution time, file upload size, memory limit in php.ini file and htaccess file? When you are executing large file you have to seen Fatal error: Maximum execution time of 30 seconds exceeded in…., Fatal Error: Allowed memory size of 8388608 bytes exhausted…. etc.In this post is describing how to solve this error using php.ini file or htaccess file.

Continue reading increase execution time file size memory limit in php.ini

How can I create css3 3d covers

How can you create css3 3d covers like book, DVD covers without using photoshop? You can get 3D effects using simple css3 3d features.View demo & download source code.This three-dimensional covers are using only one image that is cover page. ok, look at above image.You can understand this better we are going to do now.

Continue reading How can I create css3 3d covers