
ដើម្បីធ្វើការរចនាទំព័រ Facebook នៅក្នុងផ្នែកគៀនខាងនៃគេហទំព័រ យើងត្រូវសរសេរកូដមួយចំនួននៅក្នុងឯកសារ 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; } ?>