Categories
Laravel Forge WordPress

Migrating BlogVault backup via SSH

BlogVault is one of my favorite tools. It makes daily backups quick and painless. Laravel Forge and DigitalOcean make server setup and maintenance a breeze. The only downside is Forge configures servers without password access, so “migrating” a website to a DigitalOcean server requires a few hoops to jump through, like configuring a public key […]

Categories
WordPress

Migrating WordPress site with WordFence plugin to user isolation issue

If you ever migrate a wp site with wordfence, it likely created a .user.ini and hardcoded a path to a file. But since we moved the site on the server, that path is wrong. Correct it and all should be good. The error will read something about not being able to find the required file […]

Categories
Drupal Development Resources WordPress

Drupal to WordPress, WordPress to Drupal

We specialize primarily in WordPress and Drupal sites. Often we find ourselves converting sites from one platform to another. For example, Drupal excels with handling user accounts and granular permissions, whereas WordPress offers a much simpler admin interface and writing experience. The following is a table of common site features and their Drupal and WordPress […]

Categories
Drupal Development Resources WordPress

Bootstrap Feature Spotlight: Responsive Video Embeds

Responsive videos seem to be an after-thought for many websites. While text and images are easy to resize to mobile and tablet screens, videos have always required extra work. Even popular video sharing sites like Youtube.com still don’t have an easy “responsive” option and require specifying a video dimension for embedding.   Luckily, the 3.2+ […]

Categories
WordPress

Custom base.php file with Roots Theme

Photo Credit I talk a lot about the Roots theme. It’s our favorite starter theme and comes with our favorite responsive framework. Roots come with its own theme wrapper which makes it a little difficult to understand for people new to WordPress. The base.php takes the place of the usual index.php file in a WordPress […]

Categories
WordPress

Drupal’s “Menu Block” in WordPress

As a company that does both Drupal and WordPress websites, it can be frustrating sometimes when functions that are so easy for one platform are so difficult to duplicate on the other. One example is the Menu Block functionality that will create a submenu relative to whatever page you’re on. Like many things in WordPress, it […]

Categories
Drupal Development Resources WordPress

Introducing Chrome’s New Mobile Emulator

Did you know Chrome has a built in mobile device emulator? You can resize the browser window to popular devices like the iPhone 6, iPhone 6 Plus, Galaxy S5, Galaxy Note, and Google’s own line of Nexus devices.   How to Activate the Mobile Device Emulator 1. Open developer tools – Ctrl+Shift+I (PC) or Cmd+Shift+I (Mac), […]

Categories
WordPress

How to insert an ad between posts in WordPress

Does your project call for you to insert an ad, graphic, or some other type of content between posts? If so, there’s a very easy solution. A typical loop looks like this, taken from the twentyfourteen theme: if ( have_posts() ) : while ( have_posts() ) : the_post(); get_template_part( ‘content’, get_post_format() ); endwhile; else : get_template_part( ‘content’, ‘none’ […]

Categories
Drupal Development Resources WordPress

Common Bootstrap Customizations

The latest version of Bootstrap 3.x has some great UI features out of the box, but you’ll have to customize it to really make it your own. You can override the Bootstrap CSS with your own, but it’s so much easier to make small edits to the source LESS files and then compile them into […]

Categories
Drupal Development Resources WordPress

Multilevel dropdown menus with Bootstrap 3.x

Bootstrap 3.0 and newer no longer supports multiple tier dropdowns for navigation bars. This snippet of jquery prevents Bootstrap from toggling the “open” classes when you go past the first dropdown. No additional CSS or markup required! /** * NAME: Bootstrap 3 Triple Nested Sub-Menus * This script will active Triple level multi drop-down menus in Bootstrap […]