Best Practices Introduction

As you know from Getting Started, in order to keep the WordPress.com environment safe and performing to your high standards, we review in detail all plugins and themes. We also spot review all code before deploying it. As you can imagine, this is not always easy. In order to minimize turnaround times, we have some […]

Security Overview

The security of your content and the WordPress.com platform are matters that we take very seriously. This page provides a few notes on security at WordPress.com VIP. Secure Users and Access Ask all of your users to go through our User Security Best Practices checklist and confirm that they’ve taken these steps. Consider having us […]

Database Queries

As mentioned in the Best Practices Introduction, you should try and avoid direct database queries wherever possible and rely on WordPress API functions for fetching and manipulating data. Of course this is not always possible, so if you need to run any direct queries here are some best practices to follow: Use filters to adjust queries to […]

JavaScript

Tips and best practices for incorporating JavaScript files into your site: Use wp_register_script() and wp_enqueue_script() to initialize your Javascript files. This ensures compatibility with other plugins and avoids conflicts. As with everything, prefix your script slugs when registering or enqueuing them. WordPress core includes jQuery so it’s not necessary to include it in your plugin or theme. […]

CSS Files

Tips and best practices for CSS files: Use wp_enqueue_style() to load stylesheets other than style.css. Make sure to use relative paths for URLs in your stylesheet. Avoid generating style definitions with PHP, as having a static CSS file delivered from our CDN is much faster than generating a style via a PHP script. Do not […]

Getting Started with WordPress.com VIP

Welcome to the VIP Lobby! If you’re just getting started, we recommend reading every page in this section, Getting Started. We’ve ordered the pages for you, below, as a suggestion to get the most out of the documentation. [visual-guide guide=”getting-started”] If you’re working on launching a site, our Launch Checklist will probably be helpful to […]

Allow Contributors to Upload Images

When images or other attachments are uploaded to a non-private WordPress site, the images are immediately public and can be shared on the Internet. This is why Contributors cannot normally upload images or files. The VIP plugin repository file vip-helper-wpcom.php includes a helper function called vip_contrib_add_upload_cap() which will allow Contributors to upload. For Enterprise sites, […]

Gravatars and Blavatars

Gravatars A Gravatar is a Globably Recognized Avatar (and Profile), a service by Automattic that allows any person to assign an image to an email address. WordPress.com makes extensive use of Gravatars whenever possible, and we recommend using them in your theme and assigning a Gravatar to every author. For user profiles and Gravatar management […]

Tips & Tricks

The following are custom made solutions, code tips, tricks, and modifications that we’ve learned from or developed for your fellow VIP Hosting partners.

Best Practices

As you know from Getting Started, in order to keep the WordPress.com environment safe and performing to your high standards, we review in detail all plugins and themes. We also spot review all code before deploying it. In this section, we will give you some suggestions for our best practices and helpful tips to help you […]

Ready to get started?

Tell us about your needs

Let us lead the way. We’ll help you select a top tier development partner. We’ll train your developers, operations, infrastructure, and editorial teams. We’ll coarchitect your deployment processes. We will provide live support for peak events. We’ll help your people avoid dark alleys and blind corners, and reduce wasted cycles.