Support » Plugin: WP-dTree » Only link Child and Grand-Child pages?

  • Hi,

    I know this plugin has a “Folders Are Links” option which makes all taxonomies, regardless of if they are parent, child, grand-child, linked to their respective taxonomy pages. If disabled, the tree is hyper-linked for only the lowest level taxonomy available (e.g. grand-children).

    I am hoping to achieve something in between, where all child and grand-child pages would be linked while all parents would be unlinked. Is there a relatively straightforward way to do this?

    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ulfben


    There is not.

    Is there a good use case for that behaviour?

    Well, in my case I have a taxonomy which sorts a great deal of my site into

    -Animation Types
    -Animation Series
    -Research Subjects

    Lower level taxonomies might look like

    – Columbia Pictures
    – Hanna Barbera Studios
    – Paramount Studios
    – Fleischer Studios
    – Universal Studios
    – Walt Disney Studios
    – Pixar Animation Studios
    – Warner Bros.

    In this case, and in others, I don’t want the top-level of the taxonomy, “Studios,” to be navigable. I don’t want people to be able to see all posts that have any studio associated with them because it isn’t a useful query. I would, however, like them to view all posts associated with child and grandchild terms – some posts might only be attached to “paramount studios” and not as a lower level term.

    In other areas this is even more important – I have a timeline which breaks up everything into decades (1890s, 1900s, 1910s, etc) and then has lower level taxonomies for years (1890, 1891, 1892, etc). I want people to be able to browse by decade or year but not by the “Timeline” taxonomy itself.

    Thanks so much for the reply. If there is a way I can achieve this than that would be preferable – even if I could introduce a class for top-level taxonomies and unlink them through CSS or JS? Otherwise I may just add more taxonomies – so Paramount would have a subtaxonomy of “All Paramount,” 1890s would have a subtaxonomy of “All 1890s”. It would of course be preferable to index from the child terms themselves though.

    Um, actually, in what I just typed out the post didn’t collate properly. Here’s what I meant:

    -Columbia Pictures
    -Hanna Barbera Studios
    -Paramount Studios
    –Fleischer Studios
    -Universal Studios
    -Walt Disney Studios
    –Pixar Animation Studios
    -Warner Bros.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Only link Child and Grand-Child pages?’ is closed to new replies.