Can we copy/paste a Widget Code?
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 a
sidebarwidget 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.
- The topic ‘Can we copy/paste a Widget Code?’ is closed to new replies.