WordPress.org

Ready to get started?Download WordPress

Forums

WP-dTree
Only link Child and Grand-Child pages? (4 posts)

  1. thhhhh
    Member
    Posted 1 year ago #

    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

    http://wordpress.org/extend/plugins/wp-dtree-30/

  2. ulfben
    Member
    Plugin Author

    Posted 1 year ago #

    There is not.

    Is there a good use case for that behaviour?

  3. thhhhh
    Member
    Posted 1 year ago #

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

    -Animation Types
    -Animation Series
    -Countries
    -Research Subjects
    -Studios
    -Timeline

    Lower level taxonomies might look like

    -Studios
    - 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.

  4. thhhhh
    Member
    Posted 1 year ago #

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

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.