
យើងអាចបង្កើតនិងរចនារបារស្វែងរកមួយ នៅក្នុងផ្នែកគៀនខាងនៃគេហទំព័ររបស់យើង ដោយសរសេរកូដមួយចំនួន នៅក្នុងឯកសារឈ្មោះ sidebar.php ដូចខាងក្រោមនេះ៖
<?php /** * The sidebar containing the main widget area * * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials * * @package Lotus_Blue */ if ( ! is_active_sidebar( 'sidebar-1' ) ) { return; } ?>