Category: PHP
-
Explode PHP string by new line
-
How to provide dynamic styles for various browsers
An example of providing dynamic styles for various browsers:
-
How to get browser info to load specific file
-
Send Array Value to Email
$message .= “Results: ” . print_r( $entry, true );
-
Page Redirect Through JS or Javascript
We can use this code to page redirect in PHP code $login_page_redirect is used for dynamic value. In HTML we can use this HTML & JavaScript Code:
-
Add featured images to RSS feed
We can add featured image to rss feed. Even we can add it to custom post type rss feed also. Like http://mywebsite.com/feed/ http://mywebsite.com/feed/?post_type=product Just need to add this code to functions.php file. This is customize code, because I want to show this type of post image and this
-
Geo Ip Location service
We can get Location details by this services. http://www.geobytes.com/iplocator.htm?GetLocation
-
Visitor IP address
We can get visitor IP address by using this PHP code.
-
Get wordpress top level taxonomy
We can get wordpress top level taxonomy by current taxonomy ID.
-
Awesome Search and Replace Tool For WordPress
This is Awesome Search and Replace Tool For WordPress. It is very helpful to migrate wordrpess site from one server to another. Main script is here Thanks