How to optimize and speed up your WordPress site

Hello! What a topic : how speed up your WordPress site. There are so many elements and factors that contribute to site speed, it is my intention to cover each area that contributes or affects overall site speed, specifically with a WordPress site. Being the most popular CMS in the world means that all sorts of people are using WordPress for all sorts of reasons. Having a fast performing site has been proven to improve things like overall sales with e-commerce as well as bounce rates with end-users visiting your site. People tend to not have patience to wait around for websites to load these days, and Google has recognized that and will prioritize sites organically that render faster than others. This is a tricky endeavour because some of the issues that may be contributing to underlying slowness may be pointing you in the wrong direction in terms of a […]

How to sanitize and reset all WordPress user accounts with linux shell scripting and wp-cli

Hello! There are several key best practices insofar as how to deal with security intrusions, including but not limited to restoring from backups on a clean server. In this article, I will be going over how to create an automated shell script that completes the following actions across multiple WordPress sites on your linux server : 1. Sanitize user and group permissions 2. Sanitize WordPress core admin and include files 3. Update WordPress Core 4. Update All installed plugins 5. Iterate through all WordPress user accounts and reset the passwords The above actions can be implemented as part of a broader security policy when dealing with shared hosting environments where you are hosting multiple WordPress sites. I will touch on each of the above items including the shell script snippets that are required to implement each. At the bottom of this article I will share the entirety of the shell […]

What is good web design?

Hello! Trends in web design have come and gone over the years, however there have been some recurring indicators that have manifested as good web design in different iterations as styles change, web development technologies change and the internet changes. CSS, HTML and Javascript frameworks have all come a long way in terms of front end development and the tools that the different technologies bring to the table that allow us to implement modern, interesting, artistic, clean and beautiful websites. But what makes good design? That’s the million dollar question! At Shift8, we have offered web design in Toronto for hundreds and hundreds of businesses across all niche markets. Each marketplace or industry has their own unique challenges, however there are common elements and expectations that we have noted happens for the most part across almost all of our projects. I will attempt to break down these challenges in order […]

How to Start an E-commerce Site in Toronto

One of the biggest roadblocks to starting a new business in Toronto is the upfront costs involved with opening a store or even securing office space. With today’s online economy, though, those expenses can be eliminated by opening an E-Commerce Site. These online sites provide you with a great virtual storefront that doesn’t come with a price-per-square-foot. It also allows you to market your products to people across Canada, North America, or even the world. You may actually be able to bring in many more customers and make a larger profit by going with an E-Commerce site instead of a traditional storefront. The biggest question most people have is simply “how to I get started with an E-Commerce site?” It may look like a large project at first, but selling online is actually pretty straightforward.   Become an Official Business It can be tempting to try to skip over registering […]

How to Start a Business in Toronto

Are you thinking about starting your own business in Toronto? There are a number of benefits to owning your own small business. You’re the boss, for one, and you get to make all of the decisions about the company, its products/services, and its direction. While starting a new business in Toronto isn’t difficult, you do need to make sure you do everything correctly so that your business is a legal entity in the city and that it’s a business poised to make a profit.   Refine Your Business Idea Before you start looking at the paperwork to create a business or sign a lease on office space, you need to make certain you know what your business is and what you’ll provide. Spending money to start a business without a clear plan is not likely to end well. You need to do your research to identify a need your business […]

Web Design for Toronto Businesses

Hello! If you are operating a local business in Toronto, one of the most important things you need to do is maintain a web presence. Whether your business is a startup, business services or restaurant : your web presence is key to the fundamental survival and operation of your business. What does it mean to have a web presence? Well the most important aspect that reaches across any niche market or industry, especially in a local market like Toronto, is having your address and phone number indexes properly as a local Google business. We have put together a checklist of steps to ensure that your business is positioned as best as possible and as visible as possible. In a dense city like Toronto, it is more common than not to have very high competition for even basic visibility.   1. Create a Google My Business Account You need to create […]

How to build a port scanner with Javascript using React Native

Hello! Why bother writing a port scanner in Javascript you might ask? Well javascript is many things, however the majority of its use is based on its original design to be synchronously executed in-browser using a single thread. Because of this, it becomes a challenge to write code outside of this original use case, though not impossible. The challenge of interacting with a local network using a language like Javascript then becomes an interesting endeavour (at least to me). If you take this type of a challenge and integrate it into a javascript based framework like react native, the potential increases exponentially. If one can successfully implement this type of network analysis on react native, then the use-case expands to platforms like iOS and Android. Same goes for AngularJS or Apache Cordova. There are many functions, libraries and modules that will help write asynchronous code. One of which is async. […]

How to inject advanced custom fields into your WPBakery post grid

Hello! Yes of course WPBakery / Visual Composer is bloated. Absolutely correct its more ideal to simply create your own page template with a custom WordPress query and design your own post grid from scratch. For smaller budget WordPress projects where time is money, it is sometimes ideal to go the post grid route. Why not? The customer wants the designed and customized end result but they have a restricted budget. WPBakery (aka “Visual Composer”) does save time in these scenarios, and there’s something to be said about applying customized CSS and jQuery to customize and tailor the vanilla packaged look and feel that these types of WordPress bundled solutions usually bring to the table. All that said, the point of this post is to describe how to properly inject custom ACF fields (advanced custom fields fields) into your post grids. Why would you want to do that? Well if […]

How to cache queries to admin-ajax.php in WordPress to improve performance

Hello! Working with wordpress for a while now, we noticed that many actions, whether administrative in nature or building a WordPress query on the front end, are dependent on the built-in admin-ajax.php or WordPress AJAX API. Since many 3rd party plugins depend on this Ajax API to dynamically push and pull data, it is unfortunately a common occurrence to have the performance of a site impacted when many AJAX API calls are happening. One of the tell tale signs of admin-ajax.php performance issues can be seen when inspecting the network connections of rendering a particular page on your WordPress site. If you filter “admin-ajax.php” in your network tab of the developer console in your browser, you should see clearly the admin-ajax.php POST that may be taking too long. In our experience, some post grid plugins that make it easy to render a grid of posts on your page heavily rely […]

How to implement a government ID verification system with Woocommerce and WordPress

  Need this implemented on your site? Click here and fill out our quote form!   Hello! There are many reasons why your Woocommerce store may need a system to accommodate verifying the identity of your customers. Depending on what your selling and the local or federal laws that are in place, having the identity of your consumer verified may be needed for liability or compliance reasons. Additionally under certain conditions within your Woocommerce store (such as orders over a certain amount of money), validating the identity can dramatically reduce the risk of fraud and fraudulent transactions on your site. I’m going to go into details with how to implement a system into your Woocommerce store that will accommodate the following : Provide a section within the Woocommerce “my account” area for end-users to upload a digital image of their ID Add a new field for the user details to […]