Advance custom fields is a very powerful plugin for WordPress. In this blog post I will be teaching you how to use the Repeater field from Advance Custom Fields PRO. There are will be two steps that are required to get the Repeater working. WordPress Admin Log into the your site back in and make […]
Author: Dhali
CSS Media Queries Min vs Max
Max-Width: If device width is less than or equal to 800px, then do {…}** Use sparingly ** Min-Width : If device width is greater than or equal to 800px, then do {…} ** Use as much as possible as Max will load more styles ** Credit :
Improving Website Page Speed Performance
Page Speed on a website can help especially for mobile users visiting your website. We recommend testing a website across different tools and not just relying on one. Some of the tools we use for testing Page Speed performance are WebPageTest.org, Pingdom Website Speed Test, and Google PageSpeed Insights. Image Optimazation This is often overlooked […]
Classic ASP Function to Set Dynamic Image (1 of 2)
I reviewed some recent client Classic ASP code and found a 4 level deep branching of an IF statement. Reading the code, its intent is to look at the object type and return an icon representing the type. I try to stay away from IF statements altogether but using a SINGLE if statement is something I do […]
Adding Custom Properties to Objects in Classic ASP
I the last blog post Converting Recordset into Objects in Classic ASP we created a public function initialize(rs) which takes in a single row from the database and creates a single class object account. Our goal is to add a new property named fullname where we combine firstname and lastname We will update the public function initialize(rs) as follows: […]
Converting Recordset into Objects in Classic ASP
Now that you know how to create a Class and Objects in Classic ASP, we will look at Converting Recordset into Objects in Classic ASP. Lets create a Class account which has several properties. I usually use the database table account and copy the model so the Class matches the database model Class account public […]
How to create a Class and Objects in Classic ASP
Creating Objects in programming is one the best ways to have code that is easily maintainable. With new Classic ASP clients, I have found creating Classes and Objects is a very good way to begin refactoring legacy code. Class trip public arrive_date public depart_date End Class Here we have created a Class trip with 2 properties […]
Isotope Sorting Ascending / Descending
We worked on a project where we had a media library. We decided to use Isotope to filter/sort through a list of all the media items available. We wanted to the user to be able to sort through the items in both Ascending / Descending order. Below is how we accomplished that. By default, Isotope sorts ascendingly: […]
One Typeface – How to use fonts effectively
How many fonts should I use on my website? Well, it depends. As a general rule, you should probably stick with 2 or 3 fonts for your website. Design Generally speaking, using 2 or 3 fonts will ensure that your site has a consistent look and feel. Establishing a visual hierarchy for your users will […]
WordPress vs Squarespace
t Dhali we design most of our sites using WordPress. WordPress is a powerful open source software and tool for building websites and apps. Some estimate that over 25% of ALL websites are currently built with WordPress. The most common use for a WordPress site is as a content management system, or CMS. This allows […]