Tools for developing and running a WordPress website
PHP Shell CSS Other
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
WordPress-Core-ns daily Dec 22, 2016
auto-login @ 046d1e3 today May 24, 2016
blokk @ 90e4ba9 Update submodules May 26, 2017
blokk-registry @ 0fba79c Update submodules May 26, 2017
bootstrap-navwalker @ 0a8f60f daily Jun 21, 2017
contact-form-7-robot-trap daily Jun 21, 2017
content-extras Fix 2 content-extras plugin Apr 13, 2017
custom-sucuri @ 29d5ca8 Added shortcode-checker Jul 29, 2016
emojis @ d7c2694 today Jun 24, 2015
extra-user-meta Simpler otop Jun 2, 2016
focus-cache daily Jul 26, 2017
frontend-debugger @ 2202a12 daily Dec 22, 2016
github-link @ 3b32332 daily Nov 27, 2017
google-universal-analytics Two tracker plugins, next step for Blokks Sep 8, 2016
image-factory @ ada925a Update submodules May 26, 2017
machine-language @ 4764216 Update submodules May 26, 2017
manual-cron @ 78093b4 Update submodules May 26, 2017
minit daily Dec 22, 2016
mu-acf-pagetype-polylang daily Aug 7, 2017
mu-average-color daily May 7, 2017
mu-banned-email-addresses daily Jan 22, 2017
mu-block-shortcodes daily Jan 22, 2017
mu-cache-flush-button Move forward with Tiny cache + clean post Jun 1, 2017
mu-cache-flush-on-maintenance daily May 20, 2017
mu-cache-flush-post-button daily Jun 26, 2017
mu-cleanup-admin daily Mar 13, 2018
mu-disable-comments @ 67d16b7 today Feb 20, 2016
mu-disable-updates daily Jan 6, 2017
mu-disable-visual-editor today Aug 11, 2016
mu-disallow-weak-passwords today Aug 15, 2016
mu-email2-shortcode daily Dec 22, 2016
mu-facebook-pixel daily Nov 27, 2017
mu-google-global-site-tag daily Feb 10, 2018
mu-google-linkhelp-fixurl daily Feb 10, 2018
mu-image-upload-control daily Mar 13, 2018
mu-keepass-button daily Feb 10, 2018
mu-latin-accent-urls today Aug 11, 2016
mu-light-profiling daily + cPanel config fix Feb 18, 2017
mu-lock-session-ip today Aug 11, 2016
mu-menu-edit-for-editors today Aug 11, 2016
mu-no-mail today Aug 11, 2016
mu-nofollow-robot-trap daily Feb 10, 2018
mu-plugin-upload-from-url Added image-upload-control MU Aug 18, 2016
mu-pods-register-export daily Nov 27, 2017
mu-prevent-public today Aug 11, 2016
mu-protect-plugins today Aug 11, 2016
mu-shortcode-unautop today Aug 11, 2016
mu-simple-history-hide-sidebar today Aug 11, 2016
mu-simple-history-not-me daily Jan 26, 2017
mu-simple-history-v today Aug 11, 2016
mu-themler-administrator daily Dec 22, 2016
mu-totp-login today Aug 15, 2016
multipart-robotstxt-editor @ 5697620 daily Mar 13, 2018
option-inspector @ a2096d6 Update submodules May 26, 2017
password-bcrypt @ 798bfa5 today Aug 15, 2016
plugin-changelog-checker Several day's work May 29, 2015
plugin-installer-speedup @ 1ddd073 Update submodules May 26, 2017
prevent-category-archive-content-duplication New features for one-theme-options-page May 30, 2016
prevent-concurrent-logins @ 308b3a0 malware cleanup Mar 9, 2015
resource-versioning @ b71911e daily Jun 26, 2017
send-message daily Jan 26, 2017
shared-hosting-aid Update submodules May 26, 2017
shortcode-checker Added shortcode-checker Jul 29, 2016
smtp-uri @ 5ad5f8e Update submodules May 26, 2017
svn-updater @ 88eaacc Update submodules May 26, 2017
theme-options-page daily + cPanel config fix Feb 18, 2017
tiny-cache @ b907a54 daily Mar 13, 2018
tiny-cdn @ 669bfa5 daily Nov 27, 2017
what-the-file @ 1da1a6f today Mar 18, 2015
whats-running @ cfd3354 Update submodules May 26, 2017
wordpress-fail2ban @ 068dfef daily Mar 13, 2018
wp-cleanup Simpler otop Jun 2, 2016
wp-cli-commands daily Nov 27, 2017
wp-mailfrom-ii @ b34dbc1 today Feb 20, 2016
wp-solarized @ 9528cec today Sep 8, 2015
wp-xref GutHub URLs Oct 12, 2014
.editorconfig Added shortcode-checker Jul 29, 2016
.gitignore wp-sol released, robot trap working Sep 3, 2014
.gitmodules daily Jul 26, 2017
404-adaptive-wp.php Adaptive 404 for WP and FB Pixel Sep 2, 2016
404-adaptive.php Adaptive 404 for WP and FB Pixel Sep 2, 2016
LICENSE Initial commit Aug 1, 2014
README.md daily Mar 13, 2018
blogsearch-ping.sh today Dec 14, 2015
cookieconsent.php daily May 15, 2017
debug-tools.php today Jul 13, 2016
encode-full-url.php daily May 20, 2017
option-array-to-wpml-config.php today Jul 13, 2016
sqlite-wp-config.php daily Nov 28, 2017
wordpress-db-change-prefix.php daily May 15, 2017
wp-cli-run-frontend.php daily Nov 28, 2017
wp-config-live-debug.php today Oct 14, 2015
wp-git-update.sh today Feb 20, 2016
wp-latest.sh Implement missing option notice Jun 4, 2016
wp-safe-salt.php daily Apr 10, 2017
wp-safe-salt.sh today Jun 16, 2016
wp-upgrade-db.php daily Nov 28, 2017

README.md

WordPress plugin construction

Tools for developing and running a WordPress website. Please select a folder in the list above to see the plugin's development.

Two programmers

https://en.wikipedia.org/wiki/Pair_programming

An article about code quality

http://engineering.quora.com/Moving-Fast-With-High-Code-Quality

How to add images to a WordPress plugin?

One-class file comment

<?php
/**
 * Administration API: WP_Internal_Pointers class
 *
 * @package WordPress
 * @since 4.4.0
 */

/**
 * Core class used to implement an internal admin pointers API.
 *
 * @since 3.3.0
 */
final class WP_Internal_Pointers {

Recommended plugins

Data structure plugin categories

  • CPT (Custom port type)
  • Custom taxonomy
  • Custom post meta
  • Custom taxonomy meta
  • Custom user meta
  • Plugin option page
  • Theme options page
  • Shortcodes
  • Widgets
  • Widget display conditions widget-context
  • Search custom contents

Content plugin categories

  1. Content Forcing
    • force-featured-image
    • mu-deny-giant-image-uploads/
  2. Content Fixes
    • mu-shortcode-unautop/
    • custom-post-type-permalinks
  3. UI tuning / Bulk edit aid
    add_filter( 'unified_post_types', function ( $post_types ) {
        $post_types[] = 'portfolio';
        $post_types[] = 'news';
        return $post_types;
    });
    • simple-page-ordering
    • post-types-order
    • Media URL column, see: content-extras/media-url-column.php
    • codepress-admin-columns
    • featured-image-column
    • advanced-excerpt
    • Advanced Image Styles advanced-image-styles
    • unattach
  4. Content representation
  5. Imaging
    • Cloudinary
    • my-eyes-are-up-here
  6. Tracking
    • google-universal-analytics/
    • .
  7. CDN

Manage WordPress installation with git

  1. Core as submodule at /company/ with URL https://github.com/WordPress/WordPress.git
  2. Theme as submodule with URL file:///home/user/website/theme.git
  3. WP.org plugins are gitignore-d.
  4. Non-WP.org plugins as submodules with URL file:///home/user/website/plugin.git

Manage WordPress plugins with composer

http://wpackagist.org/

WordPress .gitignore

See https://github.com/szepeviktor/debian-server-tools/blob/master/webserver/wordpress.gitignore