tcr howard
Forum Replies Created
-
Forum: Plugins
In reply to: [Rootspersona] load geocom and add all – progamaticallyIn lieu of a reply to the post, I dug into the rootspersona code and came up with a solution for my use case – complete replacement of gedcom information.
Briefly:
1) truncate ‘rootspersona’ related tables
2) delete ‘rootspersona’ data from core ‘posts’ and ‘postmeta’ tables
3) use the ‘rootspersona’ function ‘upload_gedcom_handler’, as the basis for importing a gedcom file without user interaction
4) use the ‘rootspersona’ function ‘add_page_handler’, as the basis for adding people without user interactionCode available if interested.
Forum: Plugins
In reply to: [Mammoth .docx converter] wrapper for mammoth?Perfect!
I’ll go with Python.
And thanks for your speedy response
Forum: Fixing WordPress
In reply to: text field with dynamically populated ‘datalist’It turns out I can get most of what I want by setting the ‘input’ fields’ autocomplete attribute to ‘on’.
Forum: Fixing WordPress
In reply to: Creating a plugin to center search results.Thanks bcworkz. Took your tips and now have it working, i.e. page scrolled to ‘search term’.
Forum: Developing with WordPress
In reply to: add_action(‘save_post’ .. not firingGot it working now, but still not sure what the problem was. All praise for stepping thru code with Eclipse.
Forum: Developing with WordPress
In reply to: add_action(‘save_post’ .. not firingHi bcworkz,
Thanks for your prompt response and comments and questions.
In my posting, I accidentally omitted the relevant entries from my_log.log .
They were
2020/06/16 15:59:00: started
2020/06/16 15:59:00: my_shutdown
Which shows that the functionality of my code was active.
To your other points. The ‘require_once’ was appended to the top level index.php file.
And, I exercised adding a page via the dashboard UI. And indeed, that page showed up in the menu thereafter.
Any more suggestions would be welcome.
howard