Removing LI elements from WordPress’ main menu
I’ve been searching for a way to remove the LIs and UL elements from a standard wordpress nav, wp_nav_menu, while keeping the classes from the LI and moving them to the A tags.
September 22nd 2015 - Code
I’ve been searching for a way to remove the LIs and UL elements from a standard wordpress nav, wp_nav_menu, while keeping the classes from the LI and moving them to the A tags.
May 2nd 2015 - Code
Having to write git pull origin branch_name followed by git add all -A then git commit -m “blaaah blaah” was getting a bit annoying so I figured out how to combine these into a single command as most of the commits I make are quite straight forward. First thing you need to do is find […]
December 27th 2013 - Code
It seems a lot of dedication to responsiveness has been given to images and with typography ignored some what. Design is sometimes subjective but we do have some rules that we can abide by; for example with body copy we should never have more than 100 characters per line as readers would find it harder […]
July 3rd 2013 - Code
Decided to make this a git project. Still work in progress although unlike previous examples this tooltip has an arrow and also allows for different position placements. You can check out the project here or the full demo here.
June 27th 2013 - Code
I have been experimenting with the CSS content
property quite a bit lately. What I discovered is you can populate it with the HTML data
attribute.
For example say we wanted an item to have a tooltip. We would write out the HTML
like this…..
June 1st 2013 - Code
Finally posted this code to create a simple accordian with PHP, JSON and jQuery based on a dev test I did for LoveFILM. You can get the code from github or simply look at it below. I also posted it to gist too so you can see each file example and a working demo aswell!.
May 31st 2013 - Code
My first every side project, a simple accordian made with PHP, JSON and jQuery. See more here.
May 7th 2012 - Code
What I was trying to figure out is how can you check if a table (or a div) that has a parent div with CSS overflow:auto applied to it and has started to horizontally scroll with JavaScript/jQuery. Seems that the scroll() API in jQuery only checks if the event has been triggered and not if […]
April 1st 2012 - Code
I stumbled across a really cool project by JavaScript Remy Sharp. The MIT License project is a public, open source permanent resource for the community. It allows you to create a single resource that would always be up to date and would always have your MIT details online. I created my own, which is very simple […]
January 25th 2012 - Code
I’ve seen some amazing JS & HTML5 experiments but this one has blown me away – the original Command and Conquer.
Created and completed in a month by Aditya Ravi Shankar. Check it out on github as its an incredibly ambiguous project.