This is very possible. However, it will require some basic knowledge of PHP, WordPress Codex, GravityForms API, and HTML / CSS.
GravityForms Online Docs to Review:
WordPress Codex Docs to Review:
The WordPress function get_themes() returns an array of themes each containing an array of the following theme attributes:
- Name
- Title
- Description
- Author
- Author Name
- Author URI
- Version
- Template
- Stylesheet
- Template Files
- Stylesheet Files
- Template Dir
- Stylesheet Dir
- Status
- Screenshot
- Tags
- Theme Root
- Theme Root URI
By calling get_themes(), you'll be able to loop through the available themes to build out the HTML select box that would be loaded as a new option in the Gforms User Registration.
Much of this code could reside in your theme functions.php file.
As I was writing this response, I was thinking about prototyping something for you. Before I continue, how familiar are you with referencing and writing PHP on your own? Do you need the step by step walk through?
Best Regards,
David Carroll
Posted 12 years ago on Monday February 27, 2012 |
Permalink