WordPress Engineering

WordPress Engineering

Châu xây site bằng Flatsome/Elementor khi cần tốc độ triển khai, và custom hooks/functions khi cần hiệu năng, dữ liệu riêng hoặc logic nghiệp vụ phức tạp.

wp-content/themes/chau
functions.phpactive
assets-critical.cssdequeued
schema-product.phpactive
rest-inventory.phpactive

Page Builder Mastery

Nhanh khi build, vẫn kiểm soát được Core Web Vitals.

Châu tận dụng Flatsome/Elementor cho tốc độ triển khai, rồi bóc tách phần asset dư để site không bị nặng dần theo thời gian.

Lighthouse

Flatsome E-commerce

94

Tối ưu UX category, filter sản phẩm, schema Product/Breadcrumb và tốc độ hình ảnh cho shop nhiều SKU.

Lighthouse

Elementor Corporate

92

Giữ layout marketing linh hoạt nhưng giảm CSS/JS dư, lazy-load widget và gom asset theo template.

Lighthouse

Custom Plugin & Theme

96

Tạo post type, REST API, shortcode, hooks xử lý dữ liệu và giao diện quản trị nhẹ, dễ bảo trì.

Deep Customization

Hooks, REST API và custom logic thay vì thêm plugin nặng.

Cách Châu tối ưu Elementor/Flatsome: Dequeue các file CSS/JS không sử dụng, áp dụng lazy load thích ứng, preload tài nguyên quan trọng và thay thế plugin nặng bằng custom hooks/functions.

Dequeue Elementor assets theo page

add_action('wp_enqueue_scripts', function () {
  if (! is_page_template('templates/landing.php')) {
    wp_dequeue_style('elementor-frontend');
    wp_dequeue_script('elementor-frontend');
  }
}, 99);

Custom REST endpoint cho inventory

add_action('rest_api_init', function () {
  register_rest_route('chau/v1', '/inventory/(?P<sku>[a-zA-Z0-9-]+)', [
    'methods' => 'GET',
    'callback' => 'chau_get_inventory_by_sku',
    'permission_callback' => '__return_true',
  ]);
});

Quy trình WordPress không chỉ là kéo thả.

1

Audit theme/plugin và asset đang tải

2

Tách phần cần giữ layout khỏi phần cần custom

3

Tối ưu database query, cache, image và Core Web Vitals

4

Bàn giao checklist để team content không làm web nặng lại

Theme + Plugin

Custom theme, plugin và component theo bài toán.

Bloat Control

Giảm CSS/JS dư, thay plugin nặng bằng functions.

Performance

Tối ưu CWV, cache, ảnh và critical path.