Web Design Blog – CSS Tutorials, jQuery Tutorials, SEO Tips, Learning Advice, Personal News, and More

Tutorials

Get Current Week, Last Week and Other Timestamps using MkTime in PHP

php-logo

PHP Timestamps can be very useful in programming and tracking possible modifications which could have been made. The mktime() function in PHP is a powerful tool that returns UNIX timestamps of a given date. The mktime() function shows the number of seconds passed from 1st January 1970 to a given date. 1st January 1970 is taken to be the starting date for the OS and hence all the timestamp values are generated by keeping this as the base. This can be used to calculate the time elapsed across a wide range of varieties including the last 24 hours, yesterday, last week, this week, last month, etc…

Read More Category: PHP, Tutorials

A Complete List of Standard Google Maps Marker Icons

I do a lot of web programming that involves interaction with Google Maps. In cases where I need to use Google’s standard markers, it’s always a headache trying to figure out what custom markers exist. So I wrote a little script to create a list of all the standard Google marker icons availalbe.
Here is a list of all the standard Google map marker icons available:

Read More Category: Downloads, General Talk, HTML/CSS, Tutorials, Web Design

Creating a bar graph with CSS and HTML

css-html-bar-graph

I recently had to create a bar graph to highlight my skills in the portfolio section of this site. I started out being lazy and looked for a good tutorial for creating a bar graph using only CSS and HTML. After failing to find any good bar graphs, I decided to write one myself usin a combination of various techniques that I came across on the web. The result is the following bar graph:

Read More Category: HTML/CSS, Tutorials

executing shortcode inside the_excerpt() in WordPress

wordpress-the-excerpt

I recently had a project that required me to use Wordpress shortcode inside a Wordpress excerpt. Anybody who is familiar with Wordpress will tell you that: Wordpress does not allow you to use shortcode in excerpts!
You see, you can use shortcodes for anything called through the_content() function, but the shortcode will be displayed as-is when the same post is called through the_excerpt() function. According to the Wordpress Codex, no code or html tags are executed in the_excerpt() function.

Read More Category: PHP, Tutorials, Web Design, Wordpress

Welcome to GorillaNinja.com

default-thumbnail

Welcome to GorillaNinja.com. I am a web developer/web designer living in Montreal, Quebec, Canada. My specialty is in front-end design and Wordpress theme development. Although I live in Canada, I have worked on various web design projects all over North America. Some of these projects include the popular Wordpress webcomic theme, WPcomic as well as the Google-maps driven StreetView Tours

Read More Category: Artwork & Illustration Inspirations, Artworks, Downloads, General Talk, Graphic Design Inspirations, HTML/CSS, Illustrations, jQuery/Javascript, News, PHP, Sketches, Tutorials, Useful Apps/Utilities, Web Design, Web Design Inspirations, Web Development, Web Development Inspirations, Webcomics, Wordpress
Page 1 of 11