Sidebar files in sub directory
-
Hi, I have a lot of custom sidebar files I’ll be creating for my theme. I would like to place the sidebar files in another folder called ‘sidebars’ to keep the files organized. I was wonder how can I retrieve the files when I call the function – get_sidebar(); ?
For example this usually works: get_sidebar(‘home’);
But since I have moved the file into a new folder it no longer works. I’ve tried: get_sidebar(sidebar/’home’); but it doesn’t work.
Any help would be great, thanks!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Sidebar files in sub directory’ is closed to new replies.