Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to work with WordPress 📅 for long years

License

NotificationsYou must be signed in to change notification settings

szepeviktor/wordpress-website-lifecycle

Repository files navigation

Tweet

How to work with WordPress. 💡#active-development#self-hosted#long-term#monitoring

We run WordPress on Debian GNU/Linux operating systemwhich runs on an UpCloud cloud instance.

Division of labour

Who does what.

  1. Editor manages the content and related settings.
  2. Developer commits plugin and theme source code to GitHuband initiates deployment (CI/CD).
  3. Viktor manages the operating system, webserver software,WordPress core, plugins, the theme, privileged users,system settings, security, backup and migrations.

There is no web-based administration.WordPress installation is managed with git,Composer and WP-CLI on the command-line.

More than the famous 5-minute installation

Our WordPress installation includes preparations for the next fewerror-free years.

These preparations are implemented inMU plugins.

Support my work

Please consider sponsoring me monthly if you use my packages in an agency.

Sponsor

They are already sponsoring me.

yamadashy  johnbillion  JJJ  montchr  blockifywp  

Working in a git repository

Our WordPress installation is stored in a git repositoryand managed with Composer.

This is the starter template.szepeviktor/composer-managed-wordpress

Custom plugins and themes live in separate git repositories.

Purchased themes should have an active child theme.

wp plugin install child-theme-configurator --activate

Keep the child theme in a git repository also.

Onboarding for developers

Let's prevent working against each other!

  • Don't write code changing WordPress core behavior anywhere else thanMU plugins,
    • removing admin menus, admin bar elements
    • disabling emojis
    • disabling comments
    • disabling feeds
    • disabling embeds
    • mail settings and logging
    • WAF: authentication/login, HTTP and REST API security
    • comment form and contact form spam traps
    • media management
    • nav menu, translation and content caching
    • HTTP and HTML optimization
    • CDN support
  • Plugin update check HTTP requests and updates themselves are disabledbecause the entire WordPress installation ismanaged with Composer
  • Plugin and theme update and WordPress management-related admin pages are removed(updated with Composer, administered with WP-CLI)
  • WP-Cron is ran by a Linux cron job (the default pseudo cron/web callback is disabled)
  • Only things necessary for generating custom admin pagesand generating HTML go into thetheme
  • Business logic (e.g. processing input from visitors) goes intoplugins
  • Please adhere to a coding standard ofyour choice
  • Please avoiddiscouraged functions
  • We run static analysis on all source code
  • PSR-4 autoloading is suggested (no need forrequire and custom class autoloading)
  • WordPress core is installed in a separate subdirectory
  • Please also seehosting information for developers

High level overview

💡

Installation materials

Plugin and Theme review

Development stuff

Testing


[8]ページ先頭

©2009-2025 Movatter.jp