Facebook Meta Tags <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ > <title></title> <meta name=”viewport” content=”width=device-width, initial-scale=1″> <meta name=”keywords” content=”” > <meta name=”description” content=””> <!–FACEBOOK–> <meta property=”og:title” content=”” > …
Read MoreTwitter Social meta tags
Twitter Social meta tags <!–TWITTER–> <meta property=”twitter:card” content=”summary” > <meta property=”twitter:title” content=”” > <meta property=”twitter:description” content=”” > <meta property=”twitter:creator” content=”” > <meta property=”twitter:url” content=”” > …
Read MoreGoogle+ meta tags
<!–GOOGLE+–> <link rel=”author” href=””> <link rel=”publisher” href=””>
Read MoreFacebook share link with more than one image
Facebook share link with more than one image <meta property=”og:image” content=”https://images-na.ssl-images-amazon.com/images/I/41LH4pXAe6L.jkhjk000_.jpg” /> <meta property=”og:image” content=”https://images-na.ssl-images-amazon.com/images/I/41LH4pXAe6L.jkhjk000_.jpg” /> <meta property=”og:image” content=”https://images-na.ssl-images-amazon.com/images/I/41LH4pXAe6L.jkhjk000_.jpg” />
Read MoreHow to use the ‘og’ (Open Graph) meta tag for Facebook share
<!– For Google –> <meta name=”description” content=”” /> <meta name=”keywords” content=”” /> <meta name=”author” content=”” /> <meta name=”copyright” content=”” /> <meta name=”application-name” content=”” /> <!– …
Read MorePHP – Convert stdClass object to array
The easiest way is to JSON-encode your object and then decode it back to an array: $array = json_decode(json_encode($object), True); you can traverse the object …
Read MoreCodeigniter- $this->db->like is case sensitive
There is no case insensitive version of the like function. What you can do is transform both sides of the comparison to lower case, so …
Read MoreThe /e modifier is deprecated, use preg_replace_callback instead
I’m getting notices on server with PHP 5.5 preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead i’m not sure but it seems the entity_decode …
Read MoreJquery- Check if is valid price or not
Check the valid price in Jquery. If the price is valid or not.It returns TRUE or FALSE. function CheckValidPrice(price=0){ var tempPrice = Math.round(price * 100)/ …
Read MoreAccess database config variables from a helper in Codeigniter
By using Like this way you can access Codeigniter Files From Helper. $CI =& get_instance(); $CI->load->database();
Read More