How to Pass a PHP Variable to JavaScript – Easy Way

PHP Variable Pass to JavaScript

For something seemingly so straight-forward, you would think that the information out there would be a bit better on this subject. Passing a variable from PHP to JavaScript is actually very easy! There are just a couple things you need to keep in mind and some ways to do it to ensure it actually works. I find that putting the … Read More

Redirection Plugin Not Working for HTML Pages

redirection

Today I want to focus on a very simple problem that’s pretty easy to solve. This problem occurs when using the Redirection plugin for WordPress and attempting to redirect .html or .htm pages and having it not work. This could also apply to any instance of a static page ending in .php, .txt, .zip, or whatever else you might have. … Read More

Making Section Mobile-Only with Cornerstone

Mobile Only Section Cornerstone

A question I get asked a lot is how to make a section within Cornerstone display only on mobile devices, or even to display completely different content for mobile devices. Luckily, X Theme and Cornerstone make this significantly easier to do than would be possible with WordPress by itself. There is an entire suite of functionality related exactly to this. … Read More

New Responsive WordPress Website for Burnsville Marketing Company

wildfigmarketingwebsitewide

We recently completed a new website for the fantastic company Wild Fig Marketing based out of Burnsville, MN. We’ve been partners with them for many years and are excited to be releasing their new website. The site is notable for a few of its attributes: Utilizes a fully-responsive design Parallax scrolling Side navigation WordPress X Theme and Cornerstone Frontend editor … Read More

How to Limit BackWPup Storage Space Usage

backwpupstoragefix

While BackWPup might be a decent backup solution for WordPress in the right circumstances, one of its features which seems to be pointlessly difficult to figure out is how to restrict the number of backups it stores and the space they take up. You would think this would be incredibly obvious, but it actually isn’t! Once you know how to … Read More

Using Vector Shape as Layer Mask in Photoshop

Using Shape as a Layer Mask in Photoshop

If you’ve ever wanted to use a vector shape to mask any of your layers in Photoshop, look no further! It’s incredibly easy and quite useful. The video is pretty self-explanatory, but here are text instructions regardless: Select the layer you wish to mask Hold down ctrl (command on Mac, probably), left-click and hold on the shape, and drag it … Read More

Why Your .htaccess File Redirects Never Work

.htaccess Redirect Not Working

For years, I kept making simple .htaccess 301 redirects for old pages on my WordPress sites, and they never seemed to work! It was incredibly frustrating, especially since I would always test out my redirects with an .htaccess checker, and they would always pass. I kept thinking maybe I just didn’t have the required mastery of regular expressions, or possibly I was … Read More

How to Change Default Page Template in X Theme

Page Template Sidebar

Today we have a relatively simple task: changing the default page template within X Theme. You can use this to set all your misc. pages to be full width and hide the sidebar, or you could even change the side the sidebar is on. It’s really easy to do, so let’s begin! Setting the Default Page Template Go to X … Read More

Making Section Full Height in X Theme

fullheightwebsiteexample

Making full-height intro sections is awesome. And it’s easy! Many of the demos of X Theme take advantage of full-height sections but they never really explain how. If you’ve searched their forums, you’ll find that they used Revolution Slider to do it, but honestly that’s not nearly as good of a solution as what we’re going to do! You’re probably … Read More

Plugins Without Perpetual Updates are Ruining WordPress

wordpressonfire

If you’re a WordPress developer like me, you’ve probably seen it countless times: your client never renewed their Gravity Forms or Revolution Slider licenses, and now they’ve been hacked because those plugins are three years out-of-date. Unfortunately, this is far from uncommon. There are reasons those two plugins specifically are the cause of, in my opinion, the majority of all hacked websites: … Read More