Rest API authentication with Headless WordPress
WordPress provides built-in support for authenticating the incoming request to its restful API, which is handy.
Read moreA collection of 19 posts
WordPress provides built-in support for authenticating the incoming request to its restful API, which is handy.
Read moreprogrammatically register an endpoint to enable customised dynamic redirection
Read moreTemplate and Template Parts * Site-wide Elements * Search, 404, Singular, Index(Archive) * Header, Footer * Special Page: Blog with Specific Cat Block Patterns * Collection of Blocks whose content is to be updated during Post Creation * Post Content: Highlight + Sample Header + Sample Content Reusable Blocks * Identical Blocks to appear in multiple part of
Read moreAfter Cloudflare was enabled on Siteground, The Network Admin was end up with a redirection loop, while the primary site was functioning in anyway.
Read moreAnother way to quickly fire up a local dev server for Wordpress development
Read moreWhy `Billing State / County is a required field` warning still pops out when a filed is hidden in Woocommerce/WordPress. Here, we will explore how this occur and how to resolve it.
Read moreDependencies package.json "devDependencies": { "autoprefixer": "^10.2.5", "browser-sync": "^2.26.14", "gulp": "^4.0.2", "gulp-autoprefixer": "^7.0.1", "gulp-postcss": "^9.0.0", "gulp-sass": "^4.1.0", "gulp-sourcemaps": "^3.0.0", "node-sass": "^5.0.0", "postcss": "^8.2.8", "postcss-import": "^14.0.0", "tailwindcss": "^2.0.4" } "scripts": { "dev"
Read moreA customised URL style can not only increase customer satisfaction but also make it easier to identify the location when issues occured.
Read moreDocker Set-up for Wordpress Development Define Services in a Compose File Reference # Version of the Compose file format # Version 3 is the most current and recommended one version: "3" # Top building block that defines # All containers used for this service services: # Container 1 # https://hub.docker.com/_/mysql db: # Image
Read moreStopping Spam with Google reCAPTCHA in Contact Form 7 included Integration
Read moreThere are times when a WordPress site needs to be migrated to a new server or hosting. When 'everything' is set up, only the home page can be accessed as expected while all other pages return 404. Following the below method should solve the problem in most case.
Read moreHow to make you own widget in a theme for WordPress
Read moreInject parameter that control pagination of query result so that search.php can display paginated result
Read moreBase * Starter Theme: Underscore * General CSS and Layout: Bootstrap * Plugin Activation(requires plugins within theme): TGM Plugin Activation Plugins (Development Purpose) * Theme Customizer: Kirki * Template(/Page) Custom Field: ACF Plugins (Utilities) * SEO: Yoast (Breadcrumb) * Form: Contact Form 7 * Social Media Sharing: Addthis * Analystics: Baidu Tongji + Google Analystics * Functions Editor: My
Read moreReplace the default Old-New Pagination with Numbered Pagination Code max_num_pages <= 1) { return; } $pageStart = 1; $paged = $query->query_vars['paged']; // set current page
Read more