I’m developing a theme via an online course and I can’t get the sidebar to display.
I’ve used the hook widget_init and the function is being called because I can echo text out.
Index.php is correctly able to read from sidebar.php because I can echo lines of code from there.
The problem seems to be that when I drag and drop widgets on the dashboard it’s not saving them so my sidebar is always displaying as empty/false. It does show that it’s saved but if I leave that area of the dashboard and go back to it everything has reset and I’m left with an empty sidebar.
Running the code below I get ‘side bar not active’ (from my echo)
Any help would be appreciated.
- Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
- Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
- Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.
Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com