How to wordpress get categories list easily.You can get categories list by wp_list_categories() core function.It is listing as categories names as a list.
Continue reading WordPress get categories list
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
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.
How to include different files from different servers using PHP? Is this possible easily? Read this to know about this fully.
Continue reading Include files from different servers using php
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.
PHP get visitor details without any third party web site registrations or keys.Get visitor IP address,region,latitude,longitude,Country,visitor map with php.Look at this example you can get visitor all details even latitude,longitude and country details.
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
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.
How can you read file, like text file line by line and get contents to and array using php? This can be using “FILE_IGNORE_NEW_LINES”.Here is a tested example to read text file line by line and create an array.
Continue reading PHP read file line by line to an array
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.
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.