Programming
Register a Block Pattern in WordPress
register_block_pattern stores a ready-made arrangement of blocks, while register_block_pattern_category gives it a home in the inserter. The content is ordinary block markup copied out…
Web Development Tutorials
NdrieL is a web-development tutorials site — clear, step-by-step guides for WordPress, PHP and Laravel, each one worked through from the first line of code to a result you can run. No fluff — just the steps that work.
New to the stack? Work through these in order — from setup to a running app.
Set up your site
Install WordPress Locally On WindowsCustomize safely
Create a WordPress Child ThemeAdd your own content
Register A Custom Post Type In WordPressMake it dynamic
Create A Shortcode In WordPressLoad your own code
Enqueue CSS And JavaScript In WordPressMulti-part arcs — each series builds one topic step by step. Follow the parts in order.
Custom Gutenberg Blocks · 4 parts
Maintain a Server · 5 parts
Part 2
Deploy a Site With rsyncProgramming
register_block_pattern stores a ready-made arrangement of blocks, while register_block_pattern_category gives it a home in the inserter. The content is ordinary block markup copied out…
Programming
A dynamic block saves nothing: save returns null and render_callback names the PHP that builds the markup on every request, so the output can…
Programming
Attributes in block.json declare what a block stores, then InspectorControls moves the fields into the editor sidebar where authors expect them. PanelBody groups the…
Programming
register_block_type reads a block.json file and wp.blocks.registerBlockType describes the block in plain JavaScript. Because wp.element.createElement replaces JSX, there is no compiler in the loop…
Server Administration
Analyze Apache access logs from the terminal with awk, sort, uniq and grep: top client IPs, most-requested URLs, status-code counts and 404 hunts —…
Server Administration
systemd timers run scheduled jobs with a .timer/.service pair: OnCalendar sets the schedule, systemctl list-timers shows it, journalctl keeps the logs, and Persistent=true catches…
Server Administration
Back up a server with tar and gzip: one dated, compressed archive of the site's files, verified with -tzf, restore-tested with -xzf, and copied…
Server Administration
Deploy a site with rsync and every update becomes one repeatable command that copies only what changed. This tutorial covers -avz over SSH, --exclude…
Server Administration
Add a swap file to a small server and a memory spike stops killing your processes. fallocate reserves the file, mkswap formats it, swapon…
Programming
ob_start catches everything a script prints, so a template that echoes becomes a function that returns. That one trick powers shortcodes and page caches,…
PHP, Laravel, WordPress and jQuery — hands-on coding guides worked through end to end.
67 tutorials →Apache, environments, and running your stack on Windows without the guesswork.
20 tutorials →MySQL queries, PDO, and the everyday tasks of keeping your data in order.
22 tutorials →