Comments can be a great way to interact with your Users and add some personality to your website by including your them in the conversation. However, you may not need the comments section for all features on your site. In this article we will be focusing on how to remove the comment section from WordPress […]
Author: Dhali
How To Increase Maximum File Upload Size in WordPress
Are you looking to increase the maximum file size you’re able to upload to your WordPress Site? Sometimes the default settings might not be enough to handle the uploads you are looking to make. Whether you’re looking to upload larger images, new plugins, or large theme files, having control over the size limit is an […]
TLS 1.2 with Classic ASP
Looking at Twillio docs Using Twilio with Classic ASP and VBScript we implanted Twillio SMS API We encountered the following error message: The TLS versions on the server appreared to be causing the error TLS 1.0, TLS 1.1 and TLS 2.0 We used https://www.ssllabs.com/ssltest to get the current TLS Configuration. The results showed TLS 1.0 […]
Advance Custom Field PRO Repeaters
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 […]
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 […]