Yep. Still at it. I think that in general the function for a custom field is supposed to be placed "in the loop" in the single.php file. That would be for if you were creating a custom field for a post.
I am trying to create a custom field in a post that is in a plugin so i am assuming that the function needs to be placed in a similar file within the plugin editor.
For wordpress wiki, might that file be wordpress-wiki/model/wiki_post_type.php???
If I am wrong I would like to know what file is the correct file. Now once I have that information I am trying to understand where I am supposed to place the function so that it affects the wiki's table of contents. Can i just drop it anywhere? One bit of information i found in the WP codex says that many bloggers place the function at the end of the post. I am assuming that in html mode in the post editor, you just type in the function. I tried this with no luck, although maybe I had the wrong function.
And the last thing for now is what is my function supposed to look like?
I am I over complicating this? I am having a hard time imagining that a plugin would be set up so that I had to spend eight hours trying to figure ou how to set up the table of contents. There are no decent instruction for this that I can find. What I can find is a whole bunch of other people who have struggled with the same thing.