Forums

WordPress Wiki-table of contents (6 posts)

  1. mrerikmt
    Member
    Posted 3 months ago #

    I am using the wordpress wiki plugin from instinct.

    I believe I have all the necessary check boxes checked to make a table of contents work.

    There is a little box on the right side of each wikipage that says table of contents but there is no table of contents in the table of contents box.

    Any ideas out there ?

    ToC seems to be a common problem with this plugin as there are other posts about it, but no solutions offered that I can find.

  2. mrerikmt
    Member
    Posted 3 months ago #

    Having been thoroughly confused by this ToC issue I started doing some more research and now I'm even more baffled.

    I am getting the impression that WordPress Wiki works within the "add post" and "add pages" function within the dashboard???? I read something that indicates I should check an "add wiki functionality" button at the bottom of the post backend??? I don't seem to have this button. What does TinyMCE have to do with this. Instincts instructions mention TinyMCE, but don't offer any explanation of how this all fits together.

    Basically I can't find any instruction on how to make all this work that are anything but vague.

    I guess I made the stupid assumption that I would make entries in "add wiki, designate a "parent" which would create a basic organization of the wiki, and things would work.

    There seems to be some accuracy to the method I am using but either way, nothing shows up in my Table of Contents.

    I could really use some help because nothing I found by searching google has clarified what I am supposed to do.

    Thanks for any help.

  3. mrerikmt
    Member
    Posted 3 months ago #

    Well at this point it appears that I need to create an H2 tag in custom fields. Can't find any good info on how to do this yet.

    There are some examples of code for H2 tags but so far nothing that I have tried is working.

    There is a box that is for creating custom fields at the bottom of each wiki post. I assume that I should enter some kind of html there but I have no idea what that should look like.

    I found this %lt;h2>A Heading%lt;/h2>, there has to be more though because that doesn't do me any good. Do I not need to get this complicated?

    Anyone? Anyone?

  4. mrerikmt
    Member
    Posted 3 months ago #

    OK. So I'm a little further along. I discovered that I don't need to put html into that custom fields box at the bottom of my wiki post. I need to put some code into some other places. I have uncovered terms like "the loop", the meta, and template tags. Despite reading the descriptions of these things I still don't understand the big picture here and am not really sure I need to.

    It would be really great If someone could give me some instructions that are a simple step by step of what code to put where.

    At this point I have spent six hours trying to work this out and although I am getting there, I would really love it if I had some directions that didn't require directions.

    Thanks for any help.

  5. mrerikmt
    Member
    Posted 3 months ago #

    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.

  6. Kevin Ryman
    Member
    Posted 2 months ago #

    WordPress Wiki uses the same syntax as MediaWiki so the table of contents in each page is made.

    You can learn more here: http://www.mediawiki.org/wiki/Help:Formatting when you use ==The Equals sign==.

Reply

You must log in to post.

About this Topic