Can we copy/paste a Widget Code?
-
Hi,
I am working on a new theme, want to put some default widgets in there as well. My question is can I simply copy and paste the code of a widget [from functions.php or whatever the file is in another theme] to my theme files to make the widgets available with my theme?
I will appreciate if anyone can point me to the files required to create and register a sidebar widget, another thing I want to know is that can we place asidebar
widget in the content area as well?
Know these are perhaps very basic questions for most of you people, but will really appreciate any response to this post.
TIA
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Can we copy/paste a Widget Code?’ is closed to new replies.