Simple code snippet to search in WordPress custom taxonomy’s terms. Used for WooCommerce site for search by product attributes. View the code on Gist.
Working on client support system, run into issue where Codeigniter changed all quotes to escaped HTML element. That is good for security, but still, there is space for different solution: View the code on Gist.
Working on server where, as user, I can’t delete uploaded files by server (Codeigniter Application) I need to change code and apply correct file permission (CHMOD). Here is one way how to do this.
In last years I have seen a lot variation to detect and apply browser specific HEAD attributes. Instead to add multi-line code block, I created small filter, targeting only IE browsers and their versions. This function can be easy extend.
Today I had to make “ASAP with all possible and available tools” to make one of client’s pages work on alder IE browser. I tried traditional < meta > option, but somehow didn’t work. Next I tried server side with .htaccess, but this only gave error 500 But for my surprise worked PHP version, just […]
It was little bit annoying whe I wanted to change background of jQuery’s jScrollpane plugin. As it wasn’t very good show up with Firebug. Used deep digg with Google chrome and found needed lines in CSS.
Simple and fast way to disable Jetpack open graph tags og: Just put in Your functions.php and that’s it!
While there is ongoing issue with twitter feed and <em> tag ( https://dev.twitter.com/discussions/10870 ), here is my quick tip how to solve it. Here is item content: View the code on Gist. as You can see title and description is identical from point of view of content, only markup is different. So in Your application […]
Working with privacy on one of my latest projects, I implemented Do Not Track (DNT) feature, based on HTTP Header information (HTTP_DNT) View the code on Gist. And yes, it’s still experimental feature, not wide supported. More information from Wikipedia