Well this is all good to know perhaps if the documentation wasn’t so barren I would of known this :/ but based on what your saying its still not what I want.
The code I added is custom HTML / Javascript for opening hours and also a bit for extra listing images using the wordpress built in media browser instead of the one that comes with geodirectory as standard which seems to be just a simple browse for file popup window.
I had to add code into the following files;
– Admin_hooks_actions.php (declare the 2 fields for them to appear as drag / drop items)
– Custom_field_html.php (added them to the switch in here, needed to but nothing under them as code)
– Custom_fields_functions.php (the actual code and some script file hooks for what would render when in the add/edit listing page)
Each time I update I need to go and update all these files which is somewhat annoying.
Not sure what you mean by (again documentation isn’t very populated):
“Additionally, there are functions (not hooks) that can be run one time (via a plugin or theme) to programmatically add them. I used this in my GT-Vouchers plugin.”