Core WordPress search functionality
The standard search functionality of a WordPress installation makes use of MySQL. MySQL supports various full-text search options.
Ready to get started with WordPress VIP? Contact us
Showing page 17 of 26
The standard search functionality of a WordPress installation makes use of MySQL. MySQL supports various full-text search options.
Jetpack Search is a paid upgrade to the Jetpack plugin that improves the search experience for WordPress sites. Jetpack Search uses Elasticsearch for indexing and searching, typically without any need for a site owner to add custom code.
The revisions system in WordPress stores a record of each saved draft or published update. By default, the WordPress VIP Platform sets revisions for a WordPress environment to unlimited (-1
). This default can be overridden by defining WP_POST_REVISIONS
with a custom integer value in vip-config.php
of the branch that deploys to the environment.
The WP_Query argument post__not_in
appears to be a helpful option, but it can lead to poor performance on a busy and/or large site due to affecting the cache hit rate.
Code review from other internal team members is a valuable part of the development workflow. Reviews and feedback can be received, and a pull request can be approved more quickly by following these guidelines.
It is possible to develop application code in a custom repository other than an application’s default wpcomvip GitHub repository.
Though the CLI commands listed below are disallowed, some of the processes they perform can be achieved by writing a custom WP-CLI command. For example, though several db
WP-CLI commands are disallowed, a custom WP-CLI command could run a function that leverages $wpdb->query()
.
When running commands with VIP-CLI it is possible nest commands, loop commands, reference file input, write command output to a file, and other advanced operations.
VIP-CLI commands may return errors or unexpected results for a variety of reasons. Common errors and issues, their causes, and recommended resolutions are described below.
VIP-CLI is a Node.js package that can be installed through a package manager like npm.