Google Tag Manager (GTM) does not allow you to target deeply nested selectors. In this post you’ll find a workaround for targeting all links that are nested within a particular DIV.
Does your website have a login system? Setting up Google Analytics (GA) userId tracking with Google Tag Manager (GTM) is a pretty simple thing you can do to track logged-in users across browsers and devices.
From the start of the development process we must think about website speed. It’s one of the most important features of your new site especially now that search engines are ranking faster and properly optimized web sites higher. Here are some of the best practices we use when developing light weight WordPress themes. HTML Some things are fairly straight forward […]
We do not use the built-in WordPress search on any of the sites we develop, instead we add a filter to disable the search function entirely. There are two primary reasons for this decision: Although the WordPress search may be adequate for a small blog or portfolio, we focus on performance ensuring our sites run fast no matter the size […]
When working in a WordPress MultiSite Network, users with Admin/Editor level access can create new users if enabled but they lack the “Skip Confirmation Email” toggle that Super Admins have which allows them to add the user without sending an email that requires their confirmation. In order to give regular WordPress Admin/Editor users this same ability we came up with […]
This is a tricky question that comes up quite often. My general rule is to determine if the new function would be re-usable on other WordPress themes or a future revision to my site’s theme. Does your site’s content require your custom functionality to always be there? An example where this would be the case is the use of custom […]
The built-in WordPress gallery view isn’t all that exciting. There are limited features and no way to customize the setup of the photos beyond how many columns you want. With a little know how you can completely replace the front-end view for your photo galleries. The first step is to remove the current gallery short code and replace it with […]
When we re-launched the PBS NewsHour web site we included many page components which loaded via Ajax requests. Our functions were based on the documentation provided by the WordPress codex on using Ajax. Unfortunately, this method created all kinds of caching nightmares and was responsible for poor site performance. In the case of the NewsHour, our Ajax requests were not […]